So you want to learn to program?

  • Thread starter Thread starter FAST6191
  • Start date Start date
  • Views Views 29,649
  • Replies Replies 67
  • Likes Likes 36
That is probably off topic and we have other threads on hacking.
That is fine, but there are no stickied threads about this topic. Could you point me in the right direction? In the first 20 topics, there's one topic on modding (Freddy's) only.

I never heard about radare2 before. Thanks for the tip!
 
There is not a lot in this section, and indeed not a lot for PC hacking in general. Still
http://gbatemp.net/threads/gbatemp-rom-hacking-documentation-project-new-2014-edition-out.73394/
https://gbatemp.net/threads/some-hacking-concepts-and-links.287721/

Neither of those go into some of the more in depth PC stuff, like the videos linked in a second, but if you can follow those previous things linked then it should leave you most of the way there. Obviously I would wind in some X86 assembly knowledge ( http://www.plantation-productions.com/Webster/ and http://stuff.pypt.lt/ggt80x86a/asm1.htm being my chosen two things for PC based assembly) to this but if you can fiddle with one type of assembly language you can usually grasp the main parts of another in fairly short order.


 
  • Like
Reactions: Margen67
The best place to learn is over at romhacking.net. Just be prepared for a steep learning curve since many games will use compression and non-standard formats of some sort to save space. It is really necessary that you learn to use a debugger and assembly language for the CPU of the system the game is on. Good luck!
 
For web noobies , a place i guarantee every web designer / coder has been too at some point in their learning curve... and is very useful. Has simple tutorials for all web based coding... there are more complex sites for more advanced programmers , especially with javascript with the masses and masses or libraries , its much more fun to learn yourself but there are libraries ready coded for most tasks you can think of.. but i digress.. my link is of course http://www.w3schools.com/
 
Not now, i've got more important things to be doing.
Properly learning to code is something i'll pursue later.

Like you do not need to be accurately able to explain the concept of past participles to be able to speak a language enough to do you well you need not "properly" learn computers to have some kind of useful coding skill. Looking to the future I imagine not getting people able to fumble with a bit of code is going to be considered one of the great oversights of education from 1990 to today.

If you mean you are not going to learn enough to get by now in the hopes of not having to unlearn things later when you go full bore into it then is a certain logic there. I am not so sure it is as applicable in computing as it is in other things, at least as long as you pick a good source to begin with.
 
You kind of just have to take the plunge. If you have interest in it enough then you will learn. If not, then it isn't for you. Editing other people's source (especially with well commented code) is the easiest way to start for most along with looking at a book/site to help decipher functions, parameters. You have to start somewhere or you never will. Good luck!
 
my C++ tutorial says you need to #include the cstdint header to use fixed-width integers, but aren't fixed-width integers part of the core language? I can use them without the cstdint header on my setup (g++-4.9 w/ -std=c++14 flag)
 
It depends on the platform. An int could be 16-, 32-, 64-bit, etc. So it is a safeguard against problems (especially when doing ports to other platforms).
 
just finished the quiz for chapter 4 @ www.learncpp.com, pretty proud of myself
Code:
#include <iostream>
#include <string>

enum class Types
{
    OGRE,
    DRAGON,
    ORC,
    GIANT_SPIDER,
    SLIME
};

structMonster
{
    Types type;
    std::string name;
    int16_t health;
};

void printMonster(Monster monster)
{
    std::cout << "This ogre is named " << monster.name
              << " and has " << monster.health << " health\n";
}

int main()
{
    Monster ogre{Types::OGRE,"Shrkek",200};
    Monsterslime{Types::SLIME,"Bloop",150};
    printMonster(ogre);
    printMonster(slime);
    return 0;
 
Last edited by Nyap,
I think i should learn typewriting before programming.I hope it boosts my typing speed.
 
I think i should learn typewriting before programming.I hope it boosts my typing speed.
I don't think typing speed and programming have all that much to do with each other. Equally if you are programming faster than you can type you are probably valuable enough to have a typist handle it for you, or take a week to learn how to do it.

Being able to type quickly and relatively accurately is a useful skill. Equally for the time being I don't imagine much useful programming will happen in the visual space (scratch is nice for teaching kids but anything practical is some time off) so it is necessary for programming. It is not terribly related beyond that though.
 

Site & Scene News

Popular threads in this forum