dinaharchery

StreamRead and StreamWrite Question

Discussion created by dinaharchery on Sep 21, 2009
Latest reply on Sep 22, 2009 by dinaharchery
Simple Newbie Question

I know this is a simple question but I can't seem to find info about it, can someone please help?

I am trying to compile a cpp file that will reference a compiled brook file. The problem is the data I am sending the compiled Brook files (i.e., the CPP and Header files). The code is attached.

The compiler prints out the following (where Main.cpp is the main file):

 

1>.\Main.cpp(12) : error C2143: syntax error : missing ';' before '<'



#include <brook/stream.h> using namespace brook; int main(){ int m = 3; int n = 3; int p = 2; float S_m1<m, n>; return 0; }

Outcomes