> Can someone give me the basics of computer programming?

Can someone give me the basics of computer programming?

Posted at: 2014-12-18 
Back in the day Christopher Sawtell posted an entire C course on comp.lang.c

It's still readable.

The basics of computer programming are that computers operate with binary numbers and binary instructions and people very soon got fed up with that (in 1980 I used one you actually programmed with 24 switches, one for each bit). So being programmers they wrote programs to help them program - firstly assemblers that let them type ADD 1,R1 instead of 00100111101, then compilers that let them type A=A+1 or a++, loaders that let them put programs anywhere in RAM instead of at fixed addresses, editors that let them create programs on a computer instead of on paper tape, debuggers that let them see what the computer was actually doing, and all the other stuff that goes into a modern operating system. Then they got mathematicians to help them write good algorithms and put them in libraries so that no-one will ever have to work out sin(x) or pi with a pencil ever again.

Codecademy is okay if you want to be introduced to some code without really understanding what it does. E.g the bulk of the code used in their python tutorials are not explained and are ignored until later stages.

You'll want to either look at some free online tutorials. I'm not sure what language the course uses, but here's a C++ tutorial you may want to skim through.

http://www.cplusplus.com/doc/tutorial/

Or you could purchase a good book with high ratings on amazon. (for C++, Primer Plus, or 21 days would be excellent). If you want to get good at the language used in your school's course, you will need to find out what that language is, and do a bit of googling.

I'm a programmer myself, and if you need help with programming languages or the basics go to CodeAcedmy, there are nice tutorial to teach you how to program in different languages.

So basically you want to learn computer programming so you can show off?

Forget about "appearing" smart. Prove you are smart by paying attention in class, doing your assignments, and writing some killer programs. You signed up for the class to learn programming, so learn. You don't need us for that. We can help you, but we are not here to enhance your ego.

Hey you can earn basic computer programming online from w3school.com

Heres a video on all you need to

http://youtu.be/uTVfSv8lp9I

My school offers a course which basically teaches you how to program computers and all that stuff. Sadly the only people who take it are guys who think they already know everything there is to know(and me of course). I'll admit they know more then me but I'm just so done with them treating me like an idiot. I'm not stupid, I can usually keep up with their conversation but it would be nice if I didn't just understand it but could actually show of a bit