Programing guide

Discussion in 'Computer Games and General Discussion' started by cubone12, Jan 11, 2012.

  1. cubone12
    OP

    cubone12 Newbie

    Newcomer
    8
    0
    Mar 21, 2010
    United States
    Hi!
    Could anybody link me to a good programing tutorial or guid or something like that.
    Thanks cubone12
     
  2. Wabsta

    Wabsta you fight like a dairy farmer

    Member
    2,498
    69
    Apr 25, 2008
    Netherlands
    SCUMM Bar
    Oh look, this thread again!

    First, you've got to tell us what kind of programming you want to do, because there is no general programming tutorial out there, since there are so many platforms and languages to program in/for.
     
  3. wasim

    wasim ♫ Music addict ♫

    Member
    907
    63
    Nov 13, 2010
    India
    Calicut
    Wrong section,

     
  4. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,076
    8,586
    Oct 27, 2002
    France
    Engine room, learning
    You are not posting a FAQ or a guide to help other users, it's a request to get help from other users so you should ask in the computer forum, not the guide forum.

    Wasim, just make a report so a mod can move it to the correct forum.
    I reported it, as I don't have power here.
    It will be moved soon.
     
    1 person likes this.
  5. wasim

    wasim ♫ Music addict ♫

    Member
    907
    63
    Nov 13, 2010
    India
    Calicut
    okAY. :)

    TBH i didn't know about that.
     
  6. Jamstruth

    Jamstruth Secondary Feline Anthropomorph

    Member
    3,456
    185
    Apr 23, 2009
    North East Scotland
    There can be no general programming guide. There are a load of different languages with different syntax, different styles of programming (e.g. object oriented programming) and different applications.
     
  7. Originality

    Originality Chibi-neko

    Member
    5,341
    780
    Apr 21, 2008
    London, UK
    The best programming guide I've ever come across was built into a certain game about brains.

    A good place to start to learn basic programming (if you can call it that) is the HTML guide at pagetutor.com. Once you learn how HTML builds websites, you can move onto other object-based programming languages. That or just pick up a C++ for dummies book and work through the material in that.

    In short, pick a language, buy the book, start playing around.
     
    2 people like this.
  8. Tom Bombadildo

    Tom Bombadildo Honk!

    pip Contributor
    GBAtemp Patron
    Tom Bombadildo is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    10,561
    10,498
    Jul 11, 2009
    United States
    I forgot
    If you want to learn something really simple (yet still powerful in it's own way) go for Visual Basic. I am currently enrolled in a class for VB in my high school and it is just the easiest thing to learn. After that I'd suggest going to either Python, C++, C, or Java.
     
  9. Rydian

    Rydian Resident Furvert™

    Member
    27,883
    8,108
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    http://learnproglang.couch.it/

    (Seriously.)
     
  10. Ammako

    Ammako GBAtemp Guru

    Member
    6,406
    3,540
    Dec 22, 2009
    Canada
    Not to be a dick, but if you want to learn programming, you're going to need proper spelling, because one single misspelled word in a piece of code can render the whole program unusable.
    Keep that in mind.
     
  11. purplesludge

    purplesludge anyone have any ideas for this space

    Member
    1,047
    23
    Mar 2, 2009
    United States
    wv
    Don't forget whitespace, case sensitivity, special characters, etc
     
  12. I am r4ymond

    I am r4ymond PFE

    Member
    1,703
    1
    Sep 18, 2009
    United States
    Ionia
    Try this website: http://thenewboston.org/tutorials.php. I've seen it in these forums before, so I thought I'd bookmark it when the day comes for me to try computer programming. There's C, C#, C++ and more. I heard that the guy making those video tutorials quit his other jobs and dedicated his time to making video tutorials only.
     
  13. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,885
    5,031
    Mar 17, 2010
    Norway
    Alola
    Java is a good place to start. It's easy to program for and cross platform.
     
  14. Snailface

    Snailface My frothing demand for 3ds homebrew is increasing

    Member
    4,324
    1,983
    Sep 20, 2010
    Engine Room with Cyan, watching him learn.
    Actually, if you are going to make a coding mistake, spelling errors are the best kind because the compiler will catch them immediately thus making them trivial to correct (and sometimes even link you straight to the error i.e. devkitPro).

    The worst type of errors are logic errors because the compiler will happily accept and run them without complaint in most cases. It can then take hours or days to find the problem depending on the type of mistake and the size of the program.

    For instance, I once wrote a GBA program that was working fine on real hardware and Desmume, but crashed on gPSP Kai at random intervals. I searched for the error off and on for about a week until I just gave up and moved on. By accident one day while messing around, I found the my mistake: I simply over-assigned a single array by a single byte (a buffer overflow). The upper bound of the var. assignment loop that I typed was the one I meant to type, I was just careless in choosing the value. A logical, not spelling, error.

    I'm not trying to encourage the OP to be a bad speller, but it's really more for establishing credibility while communicating with an audience (i.e. internet forums, teachers, or hiring managers) than a do-or-die requirement for good programming. In conclusion, spelling is still definitely an important part of other aspects of your life, so take it seriously, okay? :)
     
  15. Rydian

    Rydian Resident Furvert™

    Member
    27,883
    8,108
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    ... unless you're in a loosely-typed language. Then they're a bitch.
     
  16. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    It's all fun and dandy that people give the OP links to certain more or less advanced guides, but we ought to also ask what he actually wants to program.

    As it was mentioned before, there are the questions of language, platform and, well, the target application that we want to program. With general knowledge about programming, you won't ammount to much, meaning that you'll end up programming an Adder or something like it. What the OP should consider is making a definite choice as to what he's going to program, for what and with what language.

    A C/C++ video game for the DS will inheritently have a different structure than a Java application for a mobile phone.

    For a considerable period of time, BASIC was the language most commonly chosen by beginners. Nowadays it shifted a tier higher, to C and C++, and this is what I'm recommending aswell, as you can use C and C++ on just about any popular platform without much issues. Moreover, the structure of those languages is very straight-forward. You don't even have to know the particular details about the Standard library to actually program something - you have Intellisense for that.

    Thing is, a structure of a C or C++ application can easily be "drawn" on a piece of paper - it's easy to draw a block scheme for it and it's easy to describe it on a piece of paper aswell, even without comments in the code (unless it's purposely ambiguous).

    If you will end up choosing C or C++, I recommend to you:

    http://www.cplusplus.com/ - a fantastic library refference that contains all the possible functions. Each function has a little programming example attached to it, as well as functions similar to the one in question mentioned in the appendix. It's a really, really useful tool when you're not quite sure "how" to do something but you know what exactly has to be done.
     
  17. shakirmoledina

    shakirmoledina Legend

    Member
    6,611
    218
    Oct 23, 2004
    Tanzania
    Dar es Salaam
    I am thinking of writing a simple html, css and php/mysql tutorial that would enable people to make dynamic (not with javascript or jquery though) pages. it will be simple and short but practical and depthy.

    if u think its a good idea then please visit this thread and give ur opinion