C++?

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

Apr 8, 2011

C++? by Melter at 6:40 PM (3,458 Views / 0 Likes) 9 replies

  1. Melter
    OP

    Member Melter GBAtemp Regular

    Joined:
    Mar 31, 2011
    Messages:
    146
    Country:
    United States
    Does the SDK only work for C, or does it work for C++ as well?
     
  2. BassAceGold

    Member BassAceGold Testicles

    Joined:
    Aug 14, 2006
    Messages:
    494
    Country:
    Canada
    There is very very basic C++ support. You're better off using C.
     
  3. Melter
    OP

    Member Melter GBAtemp Regular

    Joined:
    Mar 31, 2011
    Messages:
    146
    Country:
    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

    Member Schicksalsheld GBAtemp Regular

    Joined:
    Aug 29, 2009
    Messages:
    118
    Country:
    Germany
    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

    Member Melter GBAtemp Regular

    Joined:
    Mar 31, 2011
    Messages:
    146
    Country:
    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

    Newcomer Crosser Member

    Joined:
    Mar 1, 2009
    Messages:
    26
    Location:
    Italy
    Country:
    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

    Member gumbyx84 GBAtemp Advanced Fan

    Joined:
    Apr 23, 2010
    Messages:
    512
    Country:
    United States
     
  8. Sonic4Ever

    Member Sonic4Ever GBAtemp Regular

    Joined:
    Apr 21, 2008
    Messages:
    249
    Country:
    France
     
  9. Schicksalsheld

    Member Schicksalsheld GBAtemp Regular

    Joined:
    Aug 29, 2009
    Messages:
    118
    Country:
    Germany
  10. Melter
    OP

    Member Melter GBAtemp Regular

    Joined:
    Mar 31, 2011
    Messages:
    146
    Country:
    United States
     

Share This Page