![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Dec 2005
Posts: 4
Rep Power: 0
![]() |
Today is my first time starting Programming ever in my life
hello there
i have decided to do some programming for awhile ago but never got the time. nows my chance to learn from scratch i went through alot of forums and read them and decided to go with c++. Can someone tell me what should i program for a noob like me? i know that i should keep doing the same thing over and over for awhile please give advice my compiler is Dev-C++ i think this will be better.. If you have MSN messenger add me Callm3h2nit3@hotmail.com Last edited by Tkosouljah; Dec 10th, 2005 at 9:46 PM. |
|
|
|
|
|
#2 |
|
The Supreme Ruler
![]() Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6
![]() |
How much do you know currently? If you've learned basic I/O and conditionals, maybe something that adds, subtracts, multiplies, or divides things according to the users choice? If that is too basic for you, then perhaps something else. I don't know how much you know, though.
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower |
|
|
|
|
|
#3 | |
|
Newbie
Join Date: Dec 2005
Posts: 4
Rep Power: 0
![]() |
Quote:
i mean nothing at all |
|
|
|
|
|
|
#4 |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 644
Rep Power: 4
![]() |
Well, not knowing what you know (if anything), I would suggest you buy a book. The tutorials found on the internet (in my expirience) are awful. If you really want to learn properly, then I can recommmend C++ Primer Plus by Steven Prata (might be Stephen).
I'm sure others will have their own recommendations. ![]() In terms of what to work towards: Try making a guessing game where a user guesses a number from 1 to 100. if the number they guess is lower, or higher then the actual number, then an appropriate message should be displayed. to complete that, you would have to learn loops, conditional statements, and (hopefully) random numbers. It should get you on the right track to continue learning.
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
#5 |
|
Expert Programmer
|
I think that www.cplusplus.com has a great C++ beginners tutorial, I think you'd benefit from it :-)
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#6 |
|
Hobbyist Programmer
Join Date: Dec 2005
Posts: 118
Rep Power: 0
![]() |
Bruce Eckel's Thinking in C++ is also pretty good, especially once you're a bit more advanced. Downloadable for free.
Even Eckel prefers Python though, and it's a good first language - you could consider starting with that and going onto C++ later, if you want to. Last edited by Klipt; Dec 11th, 2005 at 3:21 AM. |
|
|
|
|
|
#7 |
|
Hobbyist Programmer
|
I agree with learning Python. Maybe even alongside with C++. I've been learning C++ on and off for a few months now. Then I tried Python yesterday, and after two hours of learning it, I could make a programme that, with a little improvement, is as advanced as anything I can make in C++.
However, C++ is a good thing to have too, as it gives you much more control and is faster. |
|
|
|
|
|
#8 |
|
Programmer
Join Date: Dec 2005
Posts: 57
Rep Power: 0
![]() |
learning to program is not an easy task but it is good that you have decided to pick it up
the first thing you should do is learn to do a simple "hello world" program. this is the first step to learning how a program is run next you should learn how to do some functions. write them in your main.c file. a good start would be something like an adding function, or a mapping function. learn about variables, primitive data types, and user-created types. learning about types and typing in general is an esential principle of programming. make sure you fully understand what it means for a program to be "well typed" next you want to learn how to do some object oriented stuff. learn about header files, structs, and classes. this is the first step to truly understanding programming learn about some basic data structures such as binary search trees, hash tables, lists, and arrays. these are strong building blocks with many different uses. after you understand that basic stuff and fundamentals, test your skills by programming an algorithm. a good, basic start is something such as a sorting algorithm. some easy ones are insertion sort, bubble sort, and binary tree sort |
|
|
|
|
|
#9 |
|
Hobbyist Programmer
|
"C++ for the absolute beginner" Is a fantastic book. I read "C for the absolute beginner" and in all honesty it was the best programming book I had ever read.
C++ for the absolute beginner
__________________
When will Jesus bring the porkchops? |
|
|
|
|
|
#10 |
|
Newbie
|
"Accelerated C++" is highly recommended! It's gotta be one of the best computer-related books that I've ever read.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|