Thread: Is Allegro + DJGPP a no-no?

  1. #1
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002

    Lightbulb Is Allegro + DJGPP a no-no?

    A month ago I bought "Sam's Teach Yourself C++ in 24 Hours." I didn't care about learning in 24 hours flat. I needed a reference book. I found the DJGPP compilerer in the back on CD. I loaded it and I thought everything was O.K. until I looked on this forum, and wanted to compile some one's source. When I saw the source code i noticed a line... #include <graphics.h> and #include <windows.h>. When I compiled it, DJGPP said no such directory had been found. I came to this site for help, and when I saw Allegro I said to myself "Hey I have that." I went crazy trying to tell my compilerer to look in the allegro folder. At one point I created a new blank and typed in...
    "Work you stupid compilier, All I want is <graphics.h> IS THAT SO HARD TO UNDERSTAND OR SHOULD I PUT A SEMICOLON AFTER IT? \N";

    So now I come to you fair reader, for it is up to you, can anyone help?

  2. #2
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    its because i compile in Visual C++ (Microsofts).

  3. #3
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    DJGPP is for DOS, it would not make sense to include windows.h. Allegro, graphics.h? Try allegro.h.

  4. #4
    Rambling Man
    Join Date
    Jan 2002
    This is all I have to say---

    hint hint use DevC++ (4.01) instead...

  5. #5
    Registered User Kirdra's Avatar
    Join Date
    Aug 2002
    Look at "DJGPP" and "Allegro" tutorials...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why are DJGPP, Allegro and ... are free?
    By mehdi_etebari in forum C Programming
    Replies: 9
    Last Post: 06-04-2005, 08:36 AM
  2. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 02:00 AM
  3. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-20-2002, 11:35 PM
  4. I got DJGPP, but now for Allegro
    By Garfield in forum Game Programming
    Replies: 12
    Last Post: 06-07-2002, 06:35 PM
  5. DJGPP Allegro, using grabber and fonts
    By doubleanti in forum C++ Programming
    Replies: 0
    Last Post: 08-29-2001, 01:02 PM