Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

How does i program

Name: Anonymous 2011-08-08 14:00

I cannot for the life of me attempt to program. I have tried a shitload of C,C++ tutorials, and i can do the simple

#include <stdio.h>

int main(void)
{
printf("Im a fag");

getch();
return 0;
}

But thats really it, i cannot remember all of the complex stuff.

What do you think i can do to learn ANY programming language, i dont care if i have to start from scratch. And do you think there is any hope for me in the world of programming?

Name: Anonymous 2011-08-08 14:09

You're implicitly declaring getch and that's very bad.

Name: Anonymous 2011-08-08 14:11

>>2
What would you suggest i do then?

And can you answer the questions i posed to you rather then insult my noob mistake?

Name: Anonymous 2011-08-08 14:13

C and especially C++ are fantastically complicated. Start with something simple like Scheme.

Name: Anonymous 2011-08-08 14:13

>>3
Read SICP.

Name: Anonymous 2011-08-08 14:14

>>4
Thank you, can you give me some links to tutorials? Or book names?

Name: Anonymous 2011-08-08 14:14

>>5
Thank you

Name: Anonymous 2011-08-08 14:15

"And can you answer the questions i posed to you rather then insult my noob mistake?"

sir, i need to inform u that this is not a option.

Name: Anonymous 2011-08-08 14:17

>>6
see
>>5

Name: Anonymous 2011-08-08 14:19

Is reading SICP required to learn programming? Because to tell you the truth i have no time to read a book of this length, perhaps you can give me links to videos?

Name: Anonymous 2011-08-08 14:19

Eh, really? With all the spamming in this board about SICP? Well, that's the acronym for an introductory book on programming, which is thorough and uses a the simplest subset of the simplest language out there. But using only what it teaches you'd be hard pressed to make an actual application (it doesn't deal with user input, for example), but it gives a good foundation. You can download the Racket language to mess around and doing the exercises.

If that's too hard for you (and it could be, if you don't pick and choose the material it can get hardcore at times), try with some Python book, like Learn Python the Hard Way.

Maybe it's best to do both, as the first book covers a lot of topics but you'll want to look into other things in the mean time. Like doing GUIs.

Name: op 2011-08-08 14:21

>>11
Thank you so much, you are definitely the most helpful person i have ever seen on 4chan.

Name: op 2011-08-08 14:25

I have one more question before i depart, how long will it take for me to properly learn python?

Name: Anonymous 2011-08-08 14:25

Also if you want to learn C learn C and avoid the C++ stuff until after you've written something substantial with C. C++ is a big complicated confusing messy distraction.

Name: Anonymous 2011-08-08 15:32

Start with Python. Read Dive into Python or Learn Python the Hard Way.

Name: Anonymous 2011-08-08 15:46

>>13
The time required to learn it is directly proportional to how much dedication you put towards that goal.

Also, learn by doing. Come up with ideas. Write them down on paper. Use pseudocode and flowcharts (eventually, you'll be able to do this in your head). Learn the art of ENTERPRISE

Name: Anonymous 2011-08-08 15:49

OP this is important in order to be a good programmer you must be autistic otherwise you can never hope to become good

Name: Anonymous 2011-08-08 16:57

sup guyz i wanna be a rocket engineer but im having trouble getting started

...

ssly I cant be arsed to read a pamplet of almost 30 pages. i dont get all this aerodynamic bullshit i just want to learn rocket engineering

...

i made a simple rocket with sum ducktabe but it wont launch into the atmospheare plz fix my scematix!!

...

ok im gonna read how to be a rocket enginer in 17 minutes it seems like the best guide - it has a cat on the cover LOL

Name: Anonymous 2011-08-08 19:39

>>18
>he thinks programming is rocket science
laughingwhores.flv

Name: Anonymous 2011-08-08 19:52

>>17
Mild autist here. I concur. I've transcended the ranks to senior software architect, able to demand a six figure salary all thanks to my abilities. Meanwhile, less fortunate non-autists struggle to with day-to-day menial code monkey tasks.

Name: Anonymous 2011-08-09 3:31

Name: Anonymous 2011-08-09 3:42

>>19
Please sage your posts for the benefit of all /prog/ users.

Name: Anonymous 2011-08-09 4:39

>>22
Okay

Name: Anonymous 2011-08-09 10:23

>>1
For the love of all programming languages EVER: Stop reading shitty online tutorials and get yourself a few programming books.

For C++:
C++ Primer Plus

After this, you might want to learn the boost library (there are books for that too) and perhaps other libraries (game dev? read books about OGRE (even if you think ogre is shitty, you can still learn from it) and math books for game development)

SICP may not be for 1 language, but more for general /prog/ knowledge. Read it to reach Satori

If you want to do a specific branch of programming, get a book for that too (multiple books, even).

If you can't/won't/don't buy books, download them at any warez site (torrent sites only have collection of books) and create your own library, buy them when you have moniez.

Name: Anonymous 2011-08-09 10:33

>>24
Yeah, the dead tree version is way better.

Name: Anonymous 2011-08-09 18:05

>>19
You have completely missed the point.
The point is that programming for some reason seems to invite people who wants to make programs but are unwilling to invest enough time for learning the basics.
The point is not that rocket engineering is something that is intrinsically difficult.
Rocket engineering is an example of one of the many rich fields of study where the aforementioned tendency is not present. No one believes you should work as a rocket engineer after having read a book called “rocket engineering for dummies” even though many of the principles are simple.
Norvig argues that programming is unique in this matter as there are no books inviting a reader to learn quantum physics or dog grooming in 24 hours.
http://norvig.com/21-days.html

Don't change these.
Name: Email:
Entire Thread Thread List