C++ to C

This is a discussion on C++ to C within the C++ Programming forums, part of the General Programming Boards category; hello, I know how to program in C++, but I want to learn C for Allegro. Can anyone give a ...

  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    6

    C++ to C

    hello,

    I know how to program in C++, but
    I want to learn C for Allegro. Can anyone
    give a quick rundown on the syntax differences and
    other useful information, and or a link that could help me?

    thanx

  2. #2
    Registered User
    Join Date
    Apr 2007
    Posts
    45
    Allegro works with C++ too, you know that right?

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    6
    I actually didn't, so thank you

  4. #4
    Registered User
    Join Date
    Apr 2007
    Posts
    45
    hehe no problem man

  5. #5
    "Why use dynamic memory?"
    Join Date
    Aug 2006
    Posts
    186
    yeah, i made a mistake that i worked with Allegro with C, while i didn't know that it works with C++

    cuz C++ with Allegro is much better for creating much more tidy code with classes
    "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
    Nearing the end of finishing my 2D card game! I have to work on its 'manifesto' though <_<

  6. #6
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Just so you know, virtually any C library can be used in C++. (I can't think of any that cannot.)
    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

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