New to VC++ .Net
-
-
What did they do to VC++? All my VC++ 6 MFC program doesn't work properly. I tried to create a simple Hello World console program in VC++ .net and it gives cout not define.(Got stdio to work but I can't seem to get iostream or iostream.h to work)
-
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2059: syntax error : ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdio(15): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdio(15): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2059: syntax error : ':'
-
What did they do to VC++? All my VC++ 6 MFC program doesn't work properly. I tried to create a simple Hello World console program in VC++ .net and it gives cout not define.(Got stdio to work but I can't seem to get iostream or iostream.h to work)
#include using namespace std; int main() { cout << "Hello World" << endl; } this will output as: Hello World ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader
-
#include using namespace std; int main() { cout << "Hello World" << endl; } this will output as: Hello World ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader
Nope. Don't you need to #include Currently this is what I have #include using namespace std; void main() { cout << "Hello World." << endl; } But getting a lot of c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2059: syntax error : ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2059: syntax error : ':'
-
Nope. Don't you need to #include Currently this is what I have #include using namespace std; void main() { cout << "Hello World." << endl; } But getting a lot of c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2059: syntax error : ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2059: syntax error : ':'
-
#include using namespace std; int main() { cout << "Hello World" << endl; } this will output as: Hello World ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader
I forgot to check th 'do not treat carrots as tags box' :P so this is what i meant #include ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader