C++?

Discussion in 'Supercard SDK' started by Melter, Apr 8, 2011.

C++?

by Melter Apr 8, 2011 at 6:40 PM 3,684 Views 9 replies
  1. Melter
    OP

    Melter GBAtemp Regular

    Member
    2
    Mar 31, 2011
    United States
    Does the SDK only work for C, or does it work for C++ as well?
     
  2. BassAceGold

    BassAceGold Testicles

    Member
    4
    Aug 14, 2006
    Canada
    There is very very basic C++ support. You're better off using C.
     
  3. Melter
    OP

    Melter GBAtemp Regular

    Member
    2
    Mar 31, 2011
    United States
    well I don't really know C, only C++... From what I read C++ is very similar to C but the syntax looks quite different. I mean I guess I would be able to get used to using C but I would rather just use C++.
     
  4. Schicksalsheld

    Schicksalsheld GBAtemp Regular

    Member
    1
    Aug 29, 2009
    Gambia, The
    The syntax is the same...
    C++ is an object orienated C... (like Objective C)

    If you really want to programm for the DS, then learn C!
     
  5. Melter
    OP

    Melter GBAtemp Regular

    Member
    2
    Mar 31, 2011
    United States
    the syntax really isn't the same - even for something as basic as console output its quite different:

    C++: std::cout
     
  6. Crosser

    Crosser Member

    Newcomer
    1
    Mar 1, 2009
    Italy
    Italy
    You wouldn't use that anyway on a DS or any other consoles having no shell/log out. The only real and deep difference between C and C++ is the way you structure your code, not the syntax (which is virtually the same). Still, most C++ constructs can be reproduced in one way or another, for great justice.
     
  7. gumbyx84

    gumbyx84 GBAtemp Advanced Fan

    Member
    3
    Apr 23, 2010
    United States
     
  8. Sonic4Ever

    Sonic4Ever GBAtemp Regular

    Member
    3
    Apr 21, 2008
    France
     
  9. Schicksalsheld

    Schicksalsheld GBAtemp Regular

    Member
    1
    Aug 29, 2009
    Gambia, The
  10. Melter
    OP

    Melter GBAtemp Regular

    Member
    2
    Mar 31, 2011
    United States
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice