Hi there,
I recently (today) started to experiment with c++. So i got myself this Microsoft visual c++ 2008 express edition.
Now the thing is, when i try to compile the classic "hello world" script, there appears to be some error with a default -int.
The script i am using is :
#include <iostream>
main()
{
std::cout << "Hello World" << std::endl;
}
After the compiler finished compiling it, I get this error:
1>------ Build started: Project: Test123, Configuration: Debug Win32 ------
1>Compiling...
1>test123.cpp
:wave:1>c:\users\^%#$)(\documents\visual studio 2008\projects\test123\test123\test123.cpp(4) : :yuck:error C4430: missing type specifier - int assumed. Note: C++ does not support default-int:confused:
1>Build log was saved at "file://c:\Users\^%#$)(\Documents\Visual Studio 2008
\Projects\Test123\Test123\Debug\BuildLog.htm"
1>Test123 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Some tips into the right direction, or a solution would be much appreciated and I will def. +rep you
Thanks in advance.