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
- Host: GitHub
- URL: https://github.com/potatomaster101/textpym
- Owner: PotatoMaster101
- License: mit
- Created: 2019-10-09T13:20:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T13:24:09.000Z (almost 7 years ago)
- Last Synced: 2025-06-05T10:50:05.631Z (about 1 year ago)
- Topics: cpp14, fun, mit-license
- Language: C++
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```