Homebrew I want to start programming.

rockstar99

Hi
OP
Member
Joined
Dec 3, 2008
Messages
7,372
Trophies
0
Age
28
Location
Toronto
XP
733
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.
 

f3ar000

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
154
Trophies
0
XP
182
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
 

rockstar99

Hi
OP
Member
Joined
Dec 3, 2008
Messages
7,372
Trophies
0
Age
28
Location
Toronto
XP
733
Country
Canada
f3ar000 said:
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
Im gonna try it, if its too complex ill learn C for a while more
 

WioWao

Well-Known Member
Member
Joined
Nov 14, 2008
Messages
198
Trophies
0
XP
67
Country
Questions will be answered from what i think is the best. Others are welcome to correct me
smile.gif


What all will I need for programming?
- As you mention yourself: Software and a tutorial
smile.gif


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!
biggrin.gif


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.
 

rockstar99

Hi
OP
Member
Joined
Dec 3, 2008
Messages
7,372
Trophies
0
Age
28
Location
Toronto
XP
733
Country
Canada
WioWao said:
Questions will be answered from what i think is the best. Others are welcome to correct me
smile.gif


What all will I need for programming?
- As you mention yourself: Software and a tutorial
smile.gif


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!
biggrin.gif


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.
Thanks alot, now im off to learn
tongue.gif

Bye guys
tongue.gif
 

nicholasblock

Active Member
Newcomer
Joined
Jul 23, 2009
Messages
35
Trophies
1
XP
61
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
 

Bently

Well-Known Member
Member
Joined
Sep 17, 2009
Messages
494
Trophies
1
Location
Ontario
XP
345
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 ^^.
 

Xenon++

Taiju Yamada
Member
Joined
Dec 17, 2009
Messages
1,394
Trophies
0
Website
Visit site
XP
107
Country
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
wink.gif
)

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

Ben_j

Well-Known Member
Member
Joined
Nov 13, 2005
Messages
696
Trophies
0
Age
36
Website
www.nintendo-gamers.net
XP
405
Country
France
WiiBricker said:
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.

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
 

DeltaBurnt

I'm bored
Member
Joined
Feb 21, 2009
Messages
3,353
Trophies
0
Age
28
Location
Where intellect matters
Website
Visit site
XP
276
Country
United States
GentleFist said:
in my opinion c# is the best...

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.
 

WioWao

Well-Known Member
Member
Joined
Nov 14, 2008
Messages
198
Trophies
0
XP
67
Country
DeltaBurnt said:
GentleFist said:
in my opinion c# is the best...

It is the best.

But, sadly, there's no homebrew libraries for C# :\
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
biggrin.gif
C# does NOT
wink.gif

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.
 

DeltaBurnt

I'm bored
Member
Joined
Feb 21, 2009
Messages
3,353
Trophies
0
Age
28
Location
Where intellect matters
Website
Visit site
XP
276
Country
United States
WioWao said:
DeltaBurnt said:
GentleFist said:
in my opinion c# is the best...

It is the best.

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

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
biggrin.gif
C# does NOT
wink.gif

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.

Let me rephrase that.

It's the best if you solely want to make Windows pograms.

And no the closest you get to programming a chip with assembly is actually learning assembly and programming a chip with it.

QUOTE(wabsta @ Apr 13 2010, 05:07 PM)
Rockstar, I hope you are trolling.

Why?
 

CannonFoddr

Regular GBATemp Lurker
Member
Joined
Sep 23, 2006
Messages
4,134
Trophies
1
Age
56
Location
Sitting by computer
Website
www.youtube.com
XP
1,287
Country
twiztidsinz said:
If you're interested, you can get Visual Studio for free (AND LEGIT!):
http://www.microsoft.com/express/downloads/
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 ???
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @AncientBoi, https://www.youtube.com/watch?v=7jUWpmU-X8k