// // 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. // // fstream_test.c -- // // Author : Richard C. Bilson // Created On : Wed May 27 17:56:53 2015 // Last Modified By : Peter A. Buhr // Last Modified On : Mon May 2 15:25:54 2016 // Update Count : 61 // #include int main( void ) { int nombre; sout | "Entrez un nombre, s'il vous plaît:" | endl; sin | &nombre; sout | "Vous avez entré" | nombre | "stocké à l'adresse" | &nombre | endl; sout | "nombre" | nombre | "est" | (nombre > 0 ? "plus grand que" : nombre == 0 ? "égal à" : "moins de") | "zéro" | endl; sout | "Entrez trois nombres, s'il vous plaît: " | endl; int i, j, k; sin | &i | &j | &k; sout | "Vous avez entré" | "i:" | "" | i | "j:" | "" | j | "k:" | "" | k | endl; } // Local Variables: // // tab-width: 4 // // compile-command: "cfa fstream_test.c" // // End: //