Jul 7, 2010 at 5:44pm UTC
I'm using Code::Block v10.05, and I'm using the very first script;
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!";
return 0;
}
And, I hit the play button, but I don't know were to view 'Hello World!'... Any help? And sorry for sounding so clueless...
.:Ðing:.
Jul 7, 2010 at 5:57pm UTC
#include <iostream>
#include <limits>
usign namespace std;
int main ()
{
cout <<
"Hello World! ";
cout <<
"I'm a C++ Program."
return 0;
std::cout << "Press ENTER to continue...";
std::cin.ignore( std::numeric_limits<std::streamsize>::max(), '\n' );
return 0;
}
That's what I got, and... Still no output... Sorry, I'm new to this.
Jul 7, 2010 at 6:27pm UTC
"First - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
That's what I get as output, what should I do? Probably should have posted that at first..
Jul 8, 2010 at 12:10am UTC
The second piece of code is nonsense, so you should go back to the first one.
Did you install the Code::Blocks/MinGW bundle?
Jul 8, 2010 at 4:14am UTC
Yes, I just re-installed it again and it won't work...