Allegro in C for a newb

This is a discussion on Allegro in C for a newb within the C Programming forums, part of the General Programming Boards category; Hey all. I'm a first year college student that's just finished the first semester of Physics Engineering, where I took ...

  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    2

    Allegro in C for a newb

    Hey all.

    I'm a first year college student that's just finished the first semester of Physics Engineering, where I took "Introduction to Computing". It was my absolute first contact with programming ever, andI loved it, though I only learned the basics of C programming. However, when the semester ended, our teacher told us that our next contact with programming would only come six months later, on our second year, with "Techniques of Engineering Computation", and until then, we shouldn't stop programming or we'd forget most of what we had learned.

    Needless to say, I don't want that to happen. I made a few other programs in between, but about two weeks ago, in the discussion of the final work for ItC, my teacher told me that if I wanted a real challenge and wasn't afraid of learning a new tool, I should try programming "the Game of Life" in C using Allegro to show the results. Well, I started working on the code already, using my trusty DevC++, and the farthest I went is to showing the results in real time as 0 and 1 matrixes.

    (( The Game of Life is a cellular automaton, a mathematical structure that iterates the appearance of a board of black and white cells based on the status of each cell's neighboring cells - it's actually quite interesting, if you have an interest in mathematics you should check it out at http://mathworld.wolfram.com/Life.html ))

    Then I moved on trying to work with Allegro but, well, I can't. I haven't mastered any advanced concepts or anything. I *think* I managed to install it (though I did get 200 lines of warnings in the command window when I tried the compiling part of the Allegro instalation), but I can't seem to find my direction amidst all the information. I only need to make a board of black and white cells change with time based on read information from matrixes given by the program. Yet on ALL the tutorials I've read over the last two days, they start teaching how to design games and such... Way too complicated things I didn't understand.

    So I come to ask you... Do you know any tutorial than can guide one with as little knowledge as me of C programming (and any form of programming, actually), through the steps to install and learn Allegro? One that isn't too advanced or doesn't require any advanced knowledge of C?

    Thank you very much for any help you can provide.
    Oh, and sorry if this isn't the right place to post this message, it just appeared to fit in here better than anwhere else.

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    I never got Allegro to work (I installed the SDL library instead). But I'm sure it must have come with some documentation, and maybe a sample program or two. If you can't find anything, search this board or the net.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    A board search for "allegro" might help, too.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  5. #5
    Registered User
    Join Date
    Dec 2005
    Posts
    2
    Yeah, those were ones of the first I ran into, but they're either too specific or too... French.

    And Allegro comes very very well documented. I mean, it has lots of documents, even if I can't make sense of them (they require that you have knowledge of graphical thingies before). As for the sample programs, they are examples of games, which is far too much than what I want to do, and I can't compile them anyway (I get really, really odd compiler warnings when I try to).

    I was so annoyed at this earlier today I've actually called a friend and had him arrange so I can talk to a Programming Engineer that designs games tomorrow. Hopefully he can shed some light on my ignorance.

  6. #6
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 03:00 AM
  2. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 07:18 AM
  3. double buffering for allegro
    By Leeman_s in forum C++ Programming
    Replies: 6
    Last Post: 09-12-2002, 03:45 PM
  4. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-21-2002, 12:35 AM
  5. Replies: 2
    Last Post: 11-26-2001, 04:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21