Article Index

Function to print a header at the program's startup.

#include "project.h"

void Header(void){
	//display the header (You can change the name to whatever you'd like Sam...)
	system("clear");
	printf("  _____        _        ______    _ _ _             \n");
	printf(" |  __ \\      | |      |  ____|  | (_) |            \n");
	printf(" | |  | | __ _| |_ __ _| |__   __| |_| |_ ___  _ __ \n");
	printf(" | |  | |/ _` | __/ _` |  __| / _` | | __/ _ \\| '__|\n");
	printf(" | |__| | (_| | || (_| | |___| (_| | | || (_) | |   \n");
	printf(" |_____/ \\__,_|\\__\\__,_|______\\__,_|_|\\__\\___/|_|   \n");
}
Log in to comment