Skip to content

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.

Notifications You must be signed in to change notification settings

Kmedria/WordsPadder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.)

image

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

No packages published

Languages