Skip to content

PotatoMaster101/textpym

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Text Pyramid

Generates a text pyramid in C++14.

Compile

Use C++14 or higher:

$ g++ -std=c++14 -Wall -Wextra src/*.cpp -o pym

Usage

Invoke the program with n number of arguments:

$ ./pym abcdef 123456
a
ab
abc
abcd
abcde
abcdef
abcdef 1
abcdef 12
abcdef 123
abcdef 1234
abcdef 12345
abcdef 123456
abcdef 12345
abcdef 1234
abcdef 123
abcdef 12
abcdef 1
abcdef
abcde
abcd
abc
ab
a

Releases

No releases published

Packages

No packages published

Languages