#include <iostream>
using namespace std;
int main(){
cout<<"Hello World!";
return 0;
}
#include <iostream>
using namespace std;
int main(){
cout<<"Hello World!";
return 0;
}
If you used Dev-C++ install Pak for Allegro, When you start a New project you should Have 2 Allegro Templates in the Multimedia Tab. Do Not use those templates for the code you are typing in above.
Simply Create a Console Application and Give it another try
Your Brain contains the Best Program Ever Written : Manage Your Data Wisely !!
Which version of Dev-C++ are you using? If it's the original Bloodshed Dev-C++ there are good reasons why you shouldn't use Dev-C++.
If however it's the more up-to-date Orwell Dev-C++ you should be fine to proceed however, as covered in this post on updated versions of Dev-C++.
Did Poigahn's tip help you out at all, or do you still need more help?
- Jason Astle-Adams