An open API service indexing awesome lists of open source software.

https://github.com/potatomaster101/textpym

Text pyramid generator
https://github.com/potatomaster101/textpym

cpp14 fun mit-license

Last synced: 10 months ago
JSON representation

Text pyramid generator

Awesome Lists containing this project

README

          

# 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
```