ok i agree.
ok i agree.
Hi,
I have just tried dev-cpp and the following works:
1) open ide >> file >> new >> project >> c++ project >> console application.
2) copy the following code into the ide:
3) select compile/ run >> save text file as main2.cppCode:#include <iostream> using std::cout; using std::endl; int main () { cout << "hello mike!" << endl; cout << "press enter key to exit!!" << endl; system("PAUSE"); return 0; }
4) select compile/ run >> dos window should pop up
5) forget what i said about the c project - sorry
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
I agree with corned, you should definitely get a better IDE. (I use codeblocks.)
Try adding this one, I think it's included in <iostream>:
Code:#include <iostream> using std::cout; using std::endl; int main () { cout << "hello mike!" << endl; cout << "press enter key to exit!!" << endl; cin.get(); cin.ignore(); return 0; }
HEY HEY! "L" did the trick, I guess I was too tierd to notice, or I thought it was 1 for whatever reason. This is kick @ss! thanks!!!