// "cfa hello.c fstream.c iostream.o"
// "cfa -CFA hello.c > hello.i"
// "cfa hello.i fstream.i iostream.o"

extern "C" {
int printf( const char*, ... );
}

#include "fstream.h"

int main() {
  ofstream *sout = ofstream_stdout();
  write( sout, "test\n", 5 );
  sout << "Bonjour au monde!\n";
  return 0;
}
