I just tried to test something in M$_DOS, and as usual i do:
then i compile and get 2 error, pretty good i though, but then when i saw the error:Code:#include <iostream> #using namespace std; int main() { //CODE HERE return 0; }
Maybe its just cuz im a bit dusty on this stuff, but im pretty sure thats how i use to do it?Code:test.cpp(2) : error C2006: '#using' : expected a filename, found 'namespace' test.cpp(2) : fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option
Am i spelling something wrong? Did things change?
Why am i getting an error? how do i get rid of it?



LinkBack URL
About LinkBacks


