EvilZone
Programming and Scripting => C - C++ => : LewiNkz June 30, 2011, 08:43:40 AM
-
Hey all i could use some help
So yeah...
I joined this site for maybe 30 seconds ago, and the reason for that was ive heard this forum was good for "hacking and programming".. =D
So yes, im a 15 year old dude from europe and for about 3 weeks ago i saw about anonymous and read some stuff about coding.. my stepdad is a programmer so since i was like 10 he teached me to "crack" games like CoD and stuff like that..
But yeah now i wanted to start learning real coding, AND I KNOW its VERY hard to learn, but i can do what i want to do, so do you guys know any good ways to learn coding? Right now ive read abit in a book called C for dummies, and its pretty good... but i wanna go more advanced
Right now the only things i can code is like ... (Dont laugh at me xD)
#include <stdio.h>
int main()
{
char name[20];
char adress[20];
printf("Name someone cool you know: ");
gets(name);
printf("Name %ss adress: ",name);
gets(adress);
printf("\nHis name is %s and his adress is %s and hes cool.",name,adress);
return(0);
}
so anyone, where can i start learn more advanced hacking coding stuff!?
-
This is a basic I/O program written in C since u havent learnt much of it i recommend u should preffer java for writting codes its much easier to learn and has got more advanced tools!
-
So he teached you how to crack games like CoD, which would require knowledge of assembly and C. And you want to know where to learn advanced coding and hacking?
-
Next time, LewiNkz, please use the CODE tag, normal topic name, regular letters and font without colors :|
Also why don't you ask your stepdad about this...? I'm sure he would answer if he is cracking games like CoD :)
-
There are lots of tutorials around.
You сan join some kind of crew (hacking) or small project (coding),
doing something together is much more productive in my opinion.
-
Continue c for dummys !!!!! ,
No really
-
A highly recommended book(by many, many people) for the C language would be 'C Primer Plus'. This should provide you with some better material than your current 'C for Dummies' book. As well, there's what most consider to be the 'bible' of C; 'The C Programming Language' by Kernigan & Ritchie(aka the 'K&R' book). Since the K&R book was written by the authors of the language it's definitely worth referencing. However, keep in mind that styles have changed with standardization & all and that the book may not apply as directly as the primer+.
There's your books and your place to start. Learn the language, learn programming concepts..the 'hacking' part comes where you know enough that you can figure out how to change things to your favor.
-
haha i think you got me wrong guys XD! my stepdad he didnt learn me how to CODE ( only that little bit on my previous comment ) But he told me how to use utorrent, bit che, and how to change the .DLL files in the folders ETC.. :) Haha hes not a hacker hes just a coder and i think he codes something named Indivision or something :D...
Hes working for some kind of business firm... :)
@Xires thanks man ill take a look at them books :P
-
Hey.
Check those out too (I'm not into c++, did not read them, but they look good).
http://www.freeprogrammingresources.com/cppbooks.html (http://www.freeprogrammingresources.com/cppbooks.html)
-
Read the c programming language. Examine a open source project from the inside out until you know everything, then go from there.
-
I'm not sure if you left this out on purpose, but you could try to adopt a better style, e.g. indenting and using as little magic numbers as you can. Adopting a clear style will be helpful when debugging, when you begin to write a lot of code. It'll be helpful in the long run =].
Try to learn how to use loops, pointers, and functions. Then you'll be able to "write any" c program. quoted from my lecturer.
And i don't think you should use "gets", in your codes, or scanf("%s",&string) either;.
These are "dangerous", think someone else can elaborate on that. I'm pretty sure.... that someone can write a really really long string and cause a buffer overflow? Then do some funky stuff to your program.
Hope you don't mind i edited your code a bit, to demonstrate what i was saying.
#include <stdio.h>
#define MAX_SIZE 20
int main (int argc, char* argv[]) {
char name[MAX_SIZE];
char adress[MAX_SIZE];
printf("Name someone cool you know: ");
gets(name);
printf("Name %ss adress: ",name);
gets(adress);
printf("\nHis name is %s and his adress is %s and hes cool.",name,adress);
return (0);
}