File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ This ASCII representation is a cartoon mascot at [Cerner Engineering](http://eng
57
57
* [ objective-c] ( http://en.wikipedia.org/wiki/Objective-C ) - [ art.m] ( objectivec/art.m ) (` clang -fobjc-arc art.m -o art && ./art ` )
58
58
* [ ocaml] ( https://ocaml.org ) - [ art.ml] ( ocaml/art.ml ) (` ocaml art.ml ` )
59
59
* [ ooc] ( http://ooc-lang.org/ ) - [ art.ooc] ( ooc/art.ooc ) (` rock art.ooc && ./art ` )
60
+ * [ nickle] ( http://www.nickle.org/ ) - [ art.nickle] ( nickle/art.nickle ) (` nickle art.nickle ` )
60
61
* [ node.js] ( http://nodejs.org/ ) - [ art.js] ( node/art.js ) (` node art.js ` )
61
62
* [ perl] ( https://www.perl.org/ ) - [ art.pl] ( perl/art.pl ) (` perl art.pl ` )
62
63
* [ php] ( http://php.net/ ) - [ art.php] ( php/art.php ) (` php art.php ` )
Original file line number Diff line number Diff line change
1
+ // "2 to the 5th" programming competition @ engineering.cerner.com
2
+ //
3
+ // Read in the ASCII art file and simply print it to the console.
4
+ // Note: This assumes you are executing "nickle art.nickle" in the
5
+ // current working directory.
6
+ //
7
+ // Reference: http://www.nickle.org/tutorial/c856.html#AEN863
8
+ //
9
+ file f = File::open ("../art/alan.txt", "r");
10
+ do
11
+ printf ("%s\n", File::fgets (f));
12
+ while (!File::end (f));
You can’t perform that action at this time.
0 commit comments