Changes in src/examples/hello.c [cf16f94:86bd7c1f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/hello.c
rcf16f94 r86bd7c1f 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Nov 22 17:40:37201513 // Update Count : 512 // Last Modified On : Wed May 27 18:14:58 2015 13 // Update Count : 1 14 14 // 15 15 … … 19 19 ofstream *sout = ofstream_stdout(); 20 20 ifstream *sin = ifstream_stdin(); 21 sout | "Bonjour au monde!\n"; 21 sout << "Bonjour au monde!\n"; 22 sout << 3 << " " << 3.5 << " " << 'a' << " " << "abc" << "\n"; 23 int i, j, k; 24 sin >> &i >> &j >> &k; 25 sout << "i:" << i << " j:" << j << " k:" << k << "\n"; 22 26 } 23 27 24 28 // Local Variables: // 25 29 // tab-width: 4 // 26 // compile-command: "cfa hello.c fstream.o iostream.o iterator.o" //30 // compile-command: "cfa hello.c fstream.o iostream.o" // 27 31 // End: //
Note:
See TracChangeset
for help on using the changeset viewer.