So you want to learn to program?

flame1234

Well-Known Member
Member
Joined
May 17, 2009
Messages
734
Trophies
0
XP
957
Country
United States
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!
 

FAST6191

Techromancer
OP
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,284
Country
United Kingdom
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

cracker

Nyah!
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
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!
 

pwsincd

Garage Flower
Developer
Joined
Dec 4, 2011
Messages
3,685
Trophies
2
Location
Manchester UK
XP
4,441
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/
 

FAST6191

Techromancer
OP
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,284
Country
United Kingdom
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.
 

cracker

Nyah!
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
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!
 

Nyap

HTML Noob
Banned
Joined
Jan 13, 2016
Messages
971
Trophies
0
Age
55
Location
That Chaos Site
XP
483
Country
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)
 

cracker

Nyah!
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
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).
 

Nyap

HTML Noob
Banned
Joined
Jan 13, 2016
Messages
971
Trophies
0
Age
55
Location
That Chaos Site
XP
483
Country
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,

Vishnoo

Failure is success if we learn from it.
Member
Joined
Jun 1, 2016
Messages
261
Trophies
0
XP
146
Country
India
I think i should learn typewriting before programming.I hope it boosts my typing speed.
 

FAST6191

Techromancer
OP
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,284
Country
United Kingdom
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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • ZeroT21 @ ZeroT21:
    it wasn't a question, it was fact
  • BigOnYa @ BigOnYa:
    He said he had 3 different doctors apt this week, so he prob there. Something about gerbal extraction, I don't know.
    +1
  • ZeroT21 @ ZeroT21:
    bored, guess i'll spread more democracy
  • LeoTCK @ LeoTCK:
    @K3Nv2 one more time you say such bs to @BakerMan and I'll smack you across the whole planet
  • K3Nv2 @ K3Nv2:
    Make sure you smack my booty daddy
    +1
  • LeoTCK @ LeoTCK:
    telling him that my partner is luke...does he look like someone with such big ne
    eds?
  • LeoTCK @ LeoTCK:
    do you really think I could stand living with someone like luke?
  • LeoTCK @ LeoTCK:
    I suppose luke has "special needs" but he's not my partner, did you just say that to piss me off again?
  • LeoTCK @ LeoTCK:
    besides I had bigger worries today
  • LeoTCK @ LeoTCK:
    but what do you know about that, you won't believe me anyways
  • K3Nv2 @ K3Nv2:
    @BigOnYa can answer that
  • BigOnYa @ BigOnYa:
    BigOnYa already left the chat
  • K3Nv2 @ K3Nv2:
    Biginya
  • BigOnYa @ BigOnYa:
    Auto correct got me, I'm on my tablet, i need to turn that shit off
  • K3Nv2 @ K3Nv2:
    With other tabs open you perv
  • BigOnYa @ BigOnYa:
    I'm actually in my shed, bout to cut 2-3 acres of grass, my back yard.
  • K3Nv2 @ K3Nv2:
    I use to have a guy for that thanks richard
  • BigOnYa @ BigOnYa:
    I use my tablet to stream to a bluetooth speaker when in shed. iHeartRadio, FlyNation
  • K3Nv2 @ K3Nv2:
    While the victims are being buried
  • K3Nv2 @ K3Nv2:
    Grave shovel
  • BigOnYa @ BigOnYa:
    Nuh those goto the edge of the property (maybe just on the other side of)
  • K3Nv2 @ K3Nv2:
    On the neighbors side
    +1
  • BigOnYa @ BigOnYa:
    Yup, by the weird smelly green bushy looking plants.
    K3Nv2 @ K3Nv2: https://www.the-sun.com/news/10907833/self-checkout-complaints-new-target-dollar-general-policies...