hi i am having trouble compiling my program i think the problem is probably very simple but i cant figure it outi am using microsoft visual c++ here is what the error message is C:\Programs\calculator\test.cpp(5) : error C2296: '<<' : illegal, left operand has type 'struct _iobuf *'Code:#include<iostream> main(){ char c[]="hi\n"; stdout << c; return 0; }
C:\Programs\calculator\test.cpp(5) : error C2297: '<<' : illegal, right operand has type 'char [22]'