Skip to content

This is a program that prints the text you provide as an argument to the STDOUT; the text is colored!

Notifications You must be signed in to change notification settings

hakamdev/PRINT_TEXT_C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRINT_TEXT_C

This is a program that prints the text you provide as an argument to the STDOUT; the text is colored!

Makefile

Commads:

> make
  • creates the PRINT_N excutable + backup the files!
> make NAME=<exec_name>
> make NAME=PROGRAM
  • creates the excutable with a custom name!
> make backup
  • backups the files for restore if changes are made to the code!
> make restore
  • restores the files to their original version if a backup is present!
> make clean
  • cleans up the executable!

Usage

For help page:

>./PRINT_N

Basic usage:

>./PRINT_N <Text>

Example:

>./PRINT_N hakam

The above Command will output:

   ##    ##     ##     ##    ##     ##     ##    ##
   ##    ##    ####    ##  ##      ####    ###  ###
   ########   ##  ##   ####       ##  ##   ## ## ##
   ##    ##  ########  ##  ##    ########  ##    ##
   ##    ##  ##    ##  ##    ##  ##    ##  ##    ##

Another example:

>./PRINT_N "hakam 1337"

The above Command will output:

   ##    ##     ##     ##    ##     ##     ##    ##
   ##    ##    ####    ##  ##      ####    ###  ###
   ########   ##  ##   ####       ##  ##   ## ## ##
   ##    ##  ########  ##  ##    ########  ##    ##
   ##    ##  ##    ##  ##    ##  ##    ##  ##    ##


   ####     ######   ######   #######
     ##          ##       ##      ##
     ##       ####     ####      ##
     ##          ##       ##    ##
   #######  ######   ######    ##

Usage with Colors:

>./PRINT_N <Text> <color>

Example:

>./PRINT_N "hakam 1337" red

The above Command will output: alt text

Supported Characters

Lowecase Alphabets:

> a b c d e f g h i j k l m n o p q r s t u v w x y z

Uppercase Alphabets:

> A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Digits:

> 0 1 2 3 4 5 6 7 8 9

Symbols:

> . - _ ! ?

Supported Colors

NB: Colors are CASE-INSENSITIVE; "red RED Red reD" :)

> red green yellow blue cyan magenta

About

This is a program that prints the text you provide as an argument to the STDOUT; the text is colored!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published