Sign in to follow this  
PandaBerg

Need help with allegro in dev c++

Recommended Posts

PandaBerg    112

#include <iostream>
using namespace std;
int main(){
    cout<<"Hello World!";
    return 0;
}

 

 
Installing allegro seems confusing to me this is my first time using it in dev c++, I update my dev c++ using the update package manager and got allegro library and now the whole dev c++ is in chaos whatever code I use it gives me an ID returned 1 exit status even with this simple code above sad.png someone help
Edited by PandaBerg

Share this post


Link to post
Share on other sites
Poigahn    598

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

Share this post


Link to post
Share on other sites
jbadams    25676

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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this