The program takes in an words array (const char*) and outputs a char array with all the words padded to the length of the longest word. For example: ("None", "Critical", "Error", "Warning", "Debug", "Info", "All") gets padded to: [ None ][Critical][ Error ][Warning ][ Debug ][ Info ][ All ] (The square brackets are added to make it easier to see the spaces between different words.)
-
Notifications
You must be signed in to change notification settings - Fork 0
Kmedria/WordsPadder
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
WordsPadder is a short c++ program that takes a list of words as input and pads them all to the same length. This is done with char and pointers only.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published