Programming languages

Discussion in 'NDS - Emulation and Homebrew' started by Shazzo, Aug 7, 2008.

Aug 7, 2008

Programming languages by Shazzo at 12:29 PM (1,377 Views / 0 Likes) 9 replies

  1. Shazzo
    OP

    Newcomer Shazzo Member

    Joined:
    Aug 6, 2008
    Messages:
    17
    Country:
    Australia
    I was just wondering about what programming language I needed to know in order to make a homebrew. I'm learning C# at the moment.

    On that note, is developing with DevKitPro similar to developing with something like Visual Studio 2005? Or maybe Notepad? Those are the programs I'm used to.

    Thanks in advance.
     
  2. DeMoN

    Member DeMoN GBAtemp Guru

    Joined:
    May 12, 2004
    Messages:
    7,647
    Country:
    United States
  3. Shazzo
    OP

    Newcomer Shazzo Member

    Joined:
    Aug 6, 2008
    Messages:
    17
    Country:
    Australia
    Are those much different from C#?

    Like, do you start with

    using System;

    public class DSgame
    {
    public void Main()
    {
    }
    }
     
  4. CockroachMan

    Member CockroachMan Scribbling around GBATemp's kitchen.

    Joined:
    Jan 14, 2006
    Messages:
    3,889
    Location:
    Brazil
    Country:
    Brazil
    Working with consoles, the only choices you have are C and C++ (or assembly, but, no one is crazy enough for that).

    Not much different..
     
  5. Shazzo
    OP

    Newcomer Shazzo Member

    Joined:
    Aug 6, 2008
    Messages:
    17
    Country:
    Australia
    Hmm... I have enough trouble with C# as it is. Is there maybe a code converter I can download somewhere? Or can Visual Studio recompile code in a different language? That way, I wouldn't have to learn another language. One's hard enough...

    I hope I'm not breaking the rules by asking for a program like this.
     
  6. sadak5

    Member sadak5 GBAtemp Fan

    Joined:
    Feb 27, 2007
    Messages:
    421
    Location:
    Mexico City
    Country:
    Mexico
    C# is a Hybrid program son of a .... crazy programmer who mixed the c++ (not C) language with the easiness of Visual Basic (VB is not hard to learn, but if you want tu use all it's power, it becomes a lot powerfull). I think if you know C# you can learn C++ (C->VB->C#->C++ is the order I learned them). There a re few differences between C# and C++ (example, the pointers in C# are class[.]Memorymethod, and in c++ are class[->]Memorymethod). You can program in Visual studio to respect the syntaxis (i think there is a way to import the libraries of devkitpro in VC++).

    I'm a programmer who both works in VB and C#, if you have any question PM or send me an email.
     
  7. DanTheManMS

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,325
    Location:
    Georgia
    Country:
    United States
    Technically you can also use Java (VERY limited implementation, java4nds), Perl (through miniPerl in DSLinux) or BASIC (using DSBasic). But if you're trying to use DevKitARM to compile apps directly for the DS, you'll need to use C or C++.
     
  8. Psyfira

    Member Psyfira Credit: 0ml. Insert tea to continue

    Joined:
    Dec 31, 2003
    Messages:
    3,887
    Location:
    England
    Country:
    United Kingdom
    Sorry, you'll have to do this the good old fashioned way. Fortunately the thing about programming is that your first language is the most difficult, once you know how to think like a programmer picking up another language becomes a hell of a lot easier. [​IMG] Don't expect results overnight or anything, but it can't hurt to try.
     
  9. sadak5

    Member sadak5 GBAtemp Fan

    Joined:
    Feb 27, 2007
    Messages:
    421
    Location:
    Mexico City
    Country:
    Mexico
    In the school were i first learned C we had a say: "Learn C... then Forget C... Is like breath... do you need to remember how to breath?" [​IMG]
     
  10. dipper145

    Member dipper145 GBAtemp Regular

    Joined:
    Jun 12, 2008
    Messages:
    111
    Country:
    Canada
    I use PA_Lib to make homebrew in visual c++ 2005 express edition.
     

Share This Page