Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 10th, 2005, 9:17 PM   #1
Tkosouljah
Newbie
 
Join Date: Dec 2005
Posts: 4
Rep Power: 0 Tkosouljah is on a distinguished road
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.
Tkosouljah is offline   Reply With Quote
Old Dec 10th, 2005, 9:33 PM   #2
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
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
Mjordan2nd is offline   Reply With Quote
Old Dec 10th, 2005, 9:38 PM   #3
Tkosouljah
Newbie
 
Join Date: Dec 2005
Posts: 4
Rep Power: 0 Tkosouljah is on a distinguished road
Quote:
Originally Posted by Mjordan2nd
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.
i dontk now anything yet
i mean nothing at all
Tkosouljah is offline   Reply With Quote
Old Dec 10th, 2005, 9:39 PM   #4
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 644
Rep Power: 4 Jessehk is on a distinguished road
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!
Jessehk is offline   Reply With Quote
Old Dec 11th, 2005, 1:46 AM   #5
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
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.
coldDeath is offline   Reply With Quote
Old Dec 11th, 2005, 3:07 AM   #6
Klipt
Hobbyist Programmer
 
Join Date: Dec 2005
Posts: 118
Rep Power: 0 Klipt is an unknown quantity at this point
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.
Klipt is offline   Reply With Quote
Old Dec 11th, 2005, 3:58 AM   #7
UnKnown X
Hobbyist Programmer
 
UnKnown X's Avatar
 
Join Date: Dec 2005
Location: Sandvika, Norway
Posts: 114
Rep Power: 0 UnKnown X is an unknown quantity at this point
Send a message via MSN to UnKnown X
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.
UnKnown X is offline   Reply With Quote
Old Dec 11th, 2005, 4:01 AM   #8
metsfan
Programmer
 
Join Date: Dec 2005
Posts: 57
Rep Power: 0 metsfan is an unknown quantity at this point
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
metsfan is offline   Reply With Quote
Old Dec 12th, 2005, 11:17 AM   #9
Nebula
Hobbyist Programmer
 
Nebula's Avatar
 
Join Date: Oct 2005
Posts: 198
Rep Power: 3 Nebula is on a distinguished road
Send a message via AIM to Nebula
"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?
Nebula is offline   Reply With Quote
Old Dec 12th, 2005, 12:43 PM   #10
zirener
Newbie
 
Join Date: Dec 2005
Location: Space, Tellus, Europe, Norway, Oslo
Posts: 23
Rep Power: 0 zirener is an unknown quantity at this point
Send a message via MSN to zirener
"Accelerated C++" is highly recommended! It's gotta be one of the best computer-related books that I've ever read.
zirener is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:27 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC