Output a pyramid of smiley faces.
$ ./smileypyramid 18
)
:)
:-)
:):)
:-):)
:-):-)
:-):):)
:):):):)
:-):-):-)
:-):):-):)
:-):):):):)
:):):):):):)
:-):-):):-):)
:):):):):):):)
:-):):-):):-):)
:):):):):):):):)
:-):):):):):):):)
:-):-):-):-):-):-)
Build and install with cargo
.
Build with sakemake
or qmake
.
Install with:
install -Dm755 smileypyramid /usr/bin/smileypyramid
Build with sakemake
or qmake
.
Install with:
install -d /usr/local/bin
install -m755 smileypyramid /usr/local/bin/smileypyramid
docopt
docopt.cpp-git
libdocopt-dev
If docopt
is not installed in /usr/include
and /usr/bin
you might need to either edit the Makefile
or edit smileypyramid.pro
and then generate a new makefile with qmake
.