// // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // hello.c -- // // Author : Richard C. Bilson // Created On : Wed May 27 17:56:53 2015 // Last Modified By : Peter A. Buhr // Last Modified On : Fri Nov 20 16:02:50 2015 // Update Count : 3 // #include "fstream.h" int main() { ofstream *sout = ofstream_stdout(); ifstream *sin = ifstream_stdin(); sout << "Bonjour au monde!\n"; sout << 3 << " " << 3.5 << " " << 'a' << " " << "abc" << "\n"; int i, j, k; sin >> &i >> &j >> &k; sout << "i:" << i << " j:" << j << " k:" << k << "\n"; } // Local Variables: // // tab-width: 4 // // compile-command: "cfa hello.c fstream.o iostream.o iterator.o" // // End: //