Error 1 error C2143: syntax error : missing ';' before '<' c:\users\azam anees\documents\visual studio 2013\projects\project1\project1\demo.cpp 1 1 Project1
Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\azam anees\documents\visual studio 2013\projects\project1\project1\demo.cpp 1 1 Project1
7 IntelliSense: identifier "cout" is undefined c:\Users\Azam Anees\Documents\Visual Studio 2013\Projects\Project1\Project1\demo.cpp 6 2 Project1
You forgot # before include and when you run it the screen will show up a bit and then disappear to stop this. My advice is to use system('pause'); and return 0; after your cout << "Hello";. Don't use system('pause') later on its not really great but it just a start for you.
to stop this. My advice is to use system('pause'); and return 0; after your cout << "Hello";. Don't use system('pause') later on its not really great but it just a start for you.