I want to start programming.

Discussion in 'NDS - Emulation and Homebrew' started by rockstar99, Mar 23, 2010.

Mar 23, 2010
  1. rockstar99
    OP

    Member rockstar99 Hi

    Joined:
    Dec 3, 2008
    Messages:
    7,375
    Location:
    Toronto
    Country:
    Canada
    What all will I need for programming?
    Which programming language will be the best for me to learn?
    What all software is needed for that language?
    Whats the best tutorial to learn the code for the language?
    Thank you.
     


  2. f3ar000

    Member f3ar000 GBAtemp Regular

    Joined:
    Mar 14, 2009
    Messages:
    154
    Country:
    United States
    from what i know you want to start off with visual basic then move on to C or somehting else
     
  3. rockstar99
    OP

    Member rockstar99 Hi

    Joined:
    Dec 3, 2008
    Messages:
    7,375
    Location:
    Toronto
    Country:
    Canada
    Ive already done visual basic and a bit of C, will C++ be hard for me?
     
  4. f3ar000

    Member f3ar000 GBAtemp Regular

    Joined:
    Mar 14, 2009
    Messages:
    154
    Country:
    United States
    im not a programmer but from what i know C++ is basicly C with classes which changes the coding around a bit
    its just a step up so I imagine its a bit tougher

    but yeah C++ is prolly what you want
     
  5. rockstar99
    OP

    Member rockstar99 Hi

    Joined:
    Dec 3, 2008
    Messages:
    7,375
    Location:
    Toronto
    Country:
    Canada
    Im gonna try it, if its too complex ill learn C for a while more
     
  6. WioWao

    Member WioWao GBAtemp Regular

    Joined:
    Nov 14, 2008
    Messages:
    198
    Country:
    Denmark
    Questions will be answered from what i think is the best. Others are welcome to correct me [​IMG]

    What all will I need for programming?
    - As you mention yourself: Software and a tutorial [​IMG]

    Which programming language will be the best for me to learn?
    - C++ Alot of people says "C or C++" but go for C++ since its more object oriented which is great for games.

    What all software is needed for that language?
    - To run your code you have to compile it first. For that you need a compiler.
    - This link has both a compiler and an editor for your code. http://www.bloodshed.net/devcpp.html ITS FREE! [​IMG]

    Whats the best tutorial to learn the code for the language?
    - Go to your local library and find a book in your own language.
    - Or if you are good at english http://www.cplusplus.com/doc/tutorial/
    - Seriously read from the beginning. Dont just skip shit.

    It is also important when learning to program you dont have to understand everything to the smallest detail. As long as the code you write does what you want it to.
     
  7. rockstar99
    OP

    Member rockstar99 Hi

    Joined:
    Dec 3, 2008
    Messages:
    7,375
    Location:
    Toronto
    Country:
    Canada
    Thanks alot, now im off to learn [​IMG]
    Bye guys [​IMG]
     
  8. nicholasblock

    Newcomer nicholasblock Member

    Joined:
    Jul 23, 2009
    Messages:
    35
    Country:
    United States
    For programming, you will want to learn C++. But to compile and write your code, go and install devkitpro. It is a special compiler that has an ARM library and can create nds binaries. All you need to know is a little bit C++ and you can catch on in the tuts. Its also good to learn a little bit about the ARM CPU. Here is a link to some great information to get you started Dev-Scene NDSTech Read those there is a wealth of information that will help
     
  9. Bently

    Member Bently GBAtemp Fan

    Joined:
    Sep 17, 2009
    Messages:
    495
    Location:
    Ontario
    Country:
    Canada
    Well I agree with what WioWao said, but some people may learn differently. Like
    I learn well when I have someone to talk to and ask questions, but some people
    may learn by themselves. It all depends on what kind of learning strategies you use.
    You may want to keep that in mind ^^.
     
  10. twiztidsinz

    Member twiztidsinz Taiju Yamada Fan

    Joined:
    Dec 23, 2008
    Messages:
    4,981
    Country:
    United States
  11. GentleFist

    GentleFist Newbie

    in my opinion c# is the best...
     
  12. WiiUBricker

    Member WiiUBricker Insert Custom Title

    Joined:
    Sep 19, 2009
    Messages:
    5,827
    Location:
    Espresso
    Country:
    Argentina
    This thread is in the NDS section, so he wants probably code some DS stuff. If so, you should learn C and search for PALib.
     
  13. Skyline969

    Member Skyline969 MENUdo Afficionado

    Joined:
    Nov 18, 2008
    Messages:
    2,206
    Location:
    Saskatchewan
    Country:
    Canada
    I started with some Visual Basic, then some C++, then I went to Java. I absolutely love Java.
     
  14. Xenon++

    Member Xenon++ Taiju Yamada

    Joined:
    Dec 17, 2009
    Messages:
    1,394
    Country:
    Japan
    Anyway this is NDS (and other Nintendo console) forum.
    devkitPro supports only C and C++.
    (Of course you can compile GNU Compiler Collection for arm-eabi, it is not easy. I once suggested to Moonlight that he should make arm-eabi-gpc(pascal), but he only liked the IDE [​IMG])

    So start from C then go to C++.
    At least struct is important - what enables capsulization in C.
     
  15. Ben_j

    Member Ben_j GBAtemp Advanced Fan

    Joined:
    Nov 13, 2005
    Messages:
    696
    Country:
    France
    Avoid PAlib. Use libnds only

    Get devKitPro. Develop (in C or C++. Using only C is fine) with whatever program you like to use (it can be Notepad++, it can be Visual Studio, or even Notepad) and then read tutorials, watch examples.
    Google is your bestest friend
     
  16. DeltaBurnt

    Member DeltaBurnt I'm bored

    Joined:
    Feb 21, 2009
    Messages:
    3,353
    Location:
    Where intellect matters
    Country:
    United States
    It is the best.

    But, sadly, there's no homebrew libraries for C# :\

    As for Rockstar, I'm glad you're showing interest in programming! We can learn together.

    C++ isn't that hard, it just includes new functions/classes that make things more complicated/easy. It also has object orientated programming, which makes things more organized and easier.

    Things will start out easy with basic console commands, then it'll get a little harder once you get into internet operations, GUI based programming, and advanced operations with pointers.
     
  17. WioWao

    Member WioWao GBAtemp Regular

    Joined:
    Nov 14, 2008
    Messages:
    198
    Country:
    Denmark
    It is NOT the best. Rofl that is the funniest shit i have ever read. C++ is the closest you get to directly programming a chip with assembly and after that binary codes yourself. C++ works on nearly every single system in the world [​IMG] C# does NOT [​IMG]
    With C++ you can write a program for linux and it can be made to work in windows, on ds, on cellphone on your iPod whatever de fuck, if there is a compiler, and there is. But not for C#. So no it is not the best. Why learn something worse than C++? it might be harder but if you gonna learn to program you might as well take a right first step.
     
  18. Wabsta

    Member Wabsta you fight like a dairy farmer

    Joined:
    Apr 25, 2008
    Messages:
    2,485
    Location:
    SCUMM Bar
    Country:
    Netherlands
    Rockstar, I hope you are trolling.
     
  19. DeltaBurnt

    Member DeltaBurnt I'm bored

    Joined:
    Feb 21, 2009
    Messages:
    3,353
    Location:
    Where intellect matters
    Country:
    United States
    Why?
     
  20. CannonFoddr

    Member CannonFoddr Regular GBATemp Lurker

    Joined:
    Sep 23, 2006
    Messages:
    4,106
    Location:
    Sitting by computer
    Country:
    United Kingdom
    oohh can you now... IIRC that allowed you to install for virtually ANY language didn't it (Visual Basic,C,C++,C#, .Net,Java etc)

    Is it still as 'bloated' as I remember.... did it install what seems like millions of 'extras' that were 'essential' for the running of the chosen programming language even if you just wanted Visual Basic

    Mind you this has got me thinking - I MIGHT have a try as well (I 'self-taught' myself quite a while back on Delphi v1 - when it came free on a magazine) but not for DS apps but more for PC apps (I've got ideas for a couple of 'old' apps that I think need updating slightly) - mind you can a over-40 learn a new language in his spare time ???
     

Share This Page