Logo Search packages:      
Sourcecode: dart version File versions  Download package

dtcTest2.cxx

#include <dtcFoo.h>
#include <stdio.h>

#ifdef DT_EXISTS_IOSTREAM
#  include <iostream>
using std::cerr;
using std::endl;
#else
# ifdef DT_EXISTS_IOSTREAM_H
# include <iostream.h>
# else
error Can not find a copy of iostream
# endif
#endif


int main( const int argc, const char** argv ) {
  dtcFoo foo;
  printf ( "<DartMeasurement name=\"Number\" type=\"numeric/integer\">1234</DartMeasurement>\n" );
  printf ( "<DartMeasurement name=\"String\" type=\"text/string\">This is a string</DartMeasurement>\n" );
  printf ( "<DartMeasurement name=\"URL\" type=\"link/url\">http://public.kitware.com/Dart</DartMeasurement>\n" );
  unsigned char t = 19;
  for ( t = 0; t < 255; t++ )
    {
    cerr << t << endl;
    }
  cerr << "Was this a & & &  bad char!!!" << endl;
  
  return 1;
}

Generated by  Doxygen 1.6.0   Back to index