Anybody know the best way for a young, stupid kid to learn programming and all. Links, books, classes anything would be much appreciated.
i would advice you to start by buying some books, read it, searching for some "exercices" to do, and don't rush into the hacks thing in the start, otherwise, you wont learn nothing and then you will just code by copying and paste what you have done before.
Start with basic things... like a calculator, a tic tac toe game.. etc... then... it's your choice...
books... i don't know the name of a exact one, because the only ones i read was C books and were in my language
I bet you don't want to learn portuguese at the same time as programming.. and i bet that you want to learn C++ instead of C.. so ^^ (even if they are a bit the same syntax... not exactly the same.. but w/e)
i would advice you to start by buying some books, read it, searching for some "exercices" to do, and don't rush into the hacks thing in the start, otherwise, you wont learn nothing and then you will just code by copying and paste what you have done before.
Start with basic things... like a calculator, a tic tac toe game.. etc... then... it's your choice...
This.
Originally Posted by Brinuz
i would advice you to start by buying some books, read it, searching for some "exercices" to do, and don't rush into the hacks thing in the start, otherwise, you wont learn nothing and then you will just code by copying and paste what you have done before.
Start with basic things... like a calculator, a tic tac toe game.. etc... then... it's your choice...
Best book ever. I don't know if I can post this or not? So if I can't please don't ban me, just remove it. It's a link for the C++ Primer 5th Edition.
You should be okay with posting that... it's helpful, and too big for MPGH.
Like the book posted up above. C++ Primer Plus. Look around, you'll find threads about C++ Basic statements, and easy instructions for the first program you're to make. Also, look up that AntiRTFM guys, or just check the C++ tutorials, read the thread, it DOES have some Beginner tutorials somewhere, if not just. cplusplus.com - The C++ Resources Network or C programming.com - Your Resource for C and C++ Programming
ilovecookies, ********** Says that it doesn't exist... Maybe Edit it? thank you
C++ instead of C.. so ^^ (even if they are a bit the same syntax... not exactly the same.. but w/e)
C++ and C have different syntax? I always thought C++ was sort of like an expansion of C, classes templates etc etc..
Although I never really did any research on the difference between C and C++.
In the book I recently bought, it explained that C++ is similar to C, but with expanded syntax, etc.
They are extremely close, but C++ has more.
Lol, David.
Here's an example.
C++ uses cout to display output, and cin, to take input.
C uses printf for output, scanf for input.
In C, when you declare/assign a variable, you'd usually have to write the statement something like this to display the number.
Code:
int a;
a=10;
printf("%d\n", a);
Someone correct me if I'm wrong. But C was so complicated, ._.;
Originally Posted by crushed
Lol, David.
Here's an example.
C++ uses cout to display output, and cin, to take input.
C uses printf for output, scanf for input.
In C, when you declare/assign a variable, you'd usually have to write the statement something like this to display the number.
Code:
int a;
a=10;
printf("%d\n", a);
Someone correct me if I'm wrong. But C was so complicated, ._.;
I never thought the day would come when you taught me something...
What? you guys dont use printf? o__O
Code:
int leet = 1337;
printf("The e-penis of Hell_Daddy is %d meters long!\n", leet);
Originally Posted by crushed
Lol, David.
Here's an example.
C++ uses cout to display output, and cin, to take input.
C uses printf for output, scanf for input.
In C, when you declare/assign a variable, you'd usually have to write the statement something like this to display the number.
Code:
int a;
a=10;
printf("%d\n", a);
Someone correct me if I'm wrong. But C was so complicated, ._.;
This. Thats why i said that they are bit different, but the same too. (expansion)
Originally Posted by Davidm44
I never thought the day would come when you taught me something...
Don't worry, I'm gonna teach you everything about the Human Body.
27 bones in your hand, 4000 nerve endings, oh baby. So much to learn.
Originally Posted by Brinuz
This. Thats why i said that they are bit different, but the same too. (expansion)
C was the base language, C++ is an expansion on it. If you know C++ you technically know C, however just because you know C doesn't mean you necessarily know C++. IMO C++ made C simpler by adding classes. Thus we have cout and cin instead of printf and scanf.
Originally Posted by monkeybook
ilovecookies, ********** Says that it doesn't exist... Maybe Edit it? thank you
Remove the space betwee rapid and share, and remove the space between . and com. I had to space it out or MPGH would have censored it as an external link.