Just starting to learn C++, bought a book which has some software with it.
A compiler called Dev-C++ (vesion 4.9.8.0) im sure most of you are familiar with it. Anyway also on the CD there were a few tutorials already wrote out. So i decided to open them up. When i click the "compile and run" button i get a long error list. Firstly starting with ...
CODE
#include <cstdio>
which is highlighted. Another errror...
CODE
#include <bits/c++io.h>
The error list has all the "#include" directive.
After reading what the "#include" is used for, all i can make out is that it tells the preprocessor to include th contents of another file. Which to me means that it cant find the file.
Sorry i am rather clueless at this stage, I only wanted to see what the tutorial program would do.
Any advice on what to do?, or any way of making the program run. Heres the code for the tutorial if it helps...
CODE
// Game Over 3.0
// Demonstrates using declarations
#include <iostream>
using std::cout;
using std::endl;
int main()
{
cout << "Game Over!" << endl;
return 0;
}
Cheers in advance.
This post has been edited by Semple: 5 Mar, 2008 - 10:33 AM