Post: For people who want to learn Basic Coding
06-28-2010, 01:36 AM #1
Toker Face
Huge heart, small dick
(adsbygoogle = window.adsbygoogle || []).push({}); I stumbled across a .pdf on Basic Coding last week and now I understand it. If you want to learn basic coding to hack then you will need
1. Python-You must login or register to view this content.
2. Adobe Reader-You must login or register to view this content.
3. Byte of Python-You must login or register to view this content.
Once you have these tools go through the instructions and I'll add a challenge for you. Make a program that counts to ten and start over
(adsbygoogle = window.adsbygoogle || []).push({});
06-28-2010, 02:35 AM #2
schnzrs
Do a barrel roll!
Python is a high level programming language, it is VERY easy to learn. I know a fair amount of it.

If you want to get into MW2 and game hacking, learn C++, not Python. NO modern games are coded in Python. If you go from Python to C++, it will be quite a big hassle since how different they are.

Oh, and here is the answer your challenge, but in C++ :p



#include <iostream>

int main()
{
using namespace std;

int x=1;
while (x=1)
{
for (x=0;x<11;x++)
cout << x << endl;
}

system("pause");
return 0;
}
06-28-2010, 02:46 AM #3
Originally posted by schnzrs View Post
Python is a high level programming language, it is VERY easy to learn. I know a fair amount of it.

If you want to get into MW2 and game hacking, learn C++, not Python. NO modern games are coded in Python. If you go from Python to C++, it will be quite a big hassle since how different they are.

Oh, and here is the answer your challenge, but in C++ :p



#include <iostream>

int main()
{
using namespace std;

int x=1;
while (x=1)
{
for (x=0;x<11;x++)
cout << x << endl;
}

system("pause");
return 0;
}



hey shouldnt the "using namespace std;" be at the top under "#include <iostream>"?

i just finished my first year of computer science in highschool and thats what we did. my teacher didn't really explain it well, he would just tell you what to do.
06-28-2010, 02:49 AM #4
shiver
chaos personified
This has nothing to do with MW2.

And don't forget, MW2 is coded in GSC not in C++. While they may seem similar, GSC is a proprietary language but it is still an object orientated language.
06-28-2010, 03:03 AM #5
schnzrs
Do a barrel roll!
Originally posted by shiver View Post
This has nothing to do with MW2.

And don't forget, MW2 is coded in GSC not in C++. While they may seem similar, GSC is a proprietary language but it is still an object orientated language.


Hmm, I have never heard of GSC.

I looked at the MW2 patch and it seemed very similar to C++ and C# syntax.

---------- Post added at 11:03 PM ---------- Previous post was at 11:02 PM ----------

Originally posted by combaqkid2 View Post
hey shouldnt the "using namespace std;" be at the top under "#include <iostream>"?

i just finished my first year of computer science in highschool and thats what we did. my teacher didn't really explain it well, he would just tell you what to do.


It does not really matter where you put it. It will still work.
06-28-2010, 03:25 AM #6
Toker Face
Huge heart, small dick
gosh...took me forever to do that.....I'm no good :(

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo