Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/examples/quad.c

    r86bd7c1f rd3b7937  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed May 27 18:26:36 2015
    13 // Update Count     : 2
     12// Last Modified On : Tue Jan 26 17:13:48 2016
     13// Update Count     : 5
    1414//
    1515
    16 extern "C" {
    17 #include <stdio.h>
    18 }
     16#include <fstream>
    1917
    2018forall( type T | { T ?*?( T, T ); } )
     
    2927
    3028int main() {
     29        ofstream *sout = ofstream_stdout();
    3130        int N = 2;
    32         printf( "result of quad of %d is %d\n", N, quad( N ) );
     31        sout | "result of quad of " | N | " is " | quad( N ) | endl;
    3332}
    3433
Note: See TracChangeset for help on using the changeset viewer.