Another beginner who needs to get one a foot in.

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2008
Posts: 5
Reputation: Levio91 is an unknown quantity at this point 
Solved Threads: 0
Levio91 Levio91 is offline Offline
Newbie Poster

Another beginner who needs to get one a foot in.

 
0
  #1
Nov 3rd, 2008
I am a beginner I spent many hours studying c++ books and online tutorials, I am sure I am competent enough to become a good programmer but I cant wrap my mind around how c++ (or any programming language for that matter) works.

My question is, How do I understand the fundamentals of programming, the basic laws. So i can use that to teach myself how to program because I am sure I can.
Last edited by Levio91; Nov 3rd, 2008 at 4:09 pm.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 973
Reputation: Alex Edwards is a jewel in the rough Alex Edwards is a jewel in the rough Alex Edwards is a jewel in the rough Alex Edwards is a jewel in the rough 
Solved Threads: 107
Alex Edwards's Avatar
Alex Edwards Alex Edwards is offline Offline
Posting Shark

Re: Another beginner who needs to get one a foot in.

 
0
  #2
Nov 3rd, 2008
You should probably sift around on google, and especially wikipedia to answer those questions.

Programming

C Programming Language

Forth

Compiler

-Alex
Last edited by Alex Edwards; Nov 3rd, 2008 at 4:14 pm.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1,999
Reputation: ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of 
Solved Threads: 295
ddanbe's Avatar
ddanbe ddanbe is offline Offline
Posting Virtuoso

Re: Another beginner who needs to get one a foot in.

 
0
  #3
Nov 3rd, 2008
1) find yourself a little project to program
2) program it
3) sooner than later you will understand "the fundamentals of programming, the basic laws."
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 185
Reputation: DemonGal711 is an unknown quantity at this point 
Solved Threads: 10
DemonGal711 DemonGal711 is offline Offline
Junior Poster

Re: Another beginner who needs to get one a foot in.

 
0
  #4
Nov 3rd, 2008
To understand the fundamentals, just work out a program and see if it produces what you want it to. That's how I learned really.

Fundamentals are things like remember your semi-colons at the end of code lines, close anything you opened (whether that be braces, brackets, parenthesis, quotes, or files), comment tags and system ("pause"); are your friends, and make it easy for you to read.

There's nothing really ground breaking you need to know other then those things, which become second nature after a while of using them.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 5
Reputation: Levio91 is an unknown quantity at this point 
Solved Threads: 0
Levio91 Levio91 is offline Offline
Newbie Poster

Re: Another beginner who needs to get one a foot in.

 
0
  #5
Nov 3rd, 2008
Originally Posted by Alex Edwards View Post
You should probably sift around on google, and especially wikipedia to answer those questions.

Programming

C Programming Language

Forth

Compiler

-Alex
Eh that's not exactly what I meant. I'm going to write a specific question, please answer if you can, thanks.

Q. Is there a c++ dictionary of inputs I can use?

That is the only question I can think of because I'm so confused about how programming works.

(Note: I can follow along with lessons in books but I never learn anything that I can use to work on my own projects.
Last edited by Levio91; Nov 3rd, 2008 at 4:19 pm.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 390
Reputation: skatamatic will become famous soon enough skatamatic will become famous soon enough 
Solved Threads: 39
skatamatic skatamatic is offline Offline
Posting Whiz

Re: Another beginner who needs to get one a foot in.

 
0
  #6
Nov 3rd, 2008
C++ can be a bit overwhelming to teach yourself. There's a lot of very specific syntaxes that you have got to get comfortable with first. I taught myself qbasic inside and out when I was about 12, which helps me immensely with c++, even though the languages are completely different. If time isn't an issue, I would sugguest doing the same (if not with qbasic then another highly simplified language)
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 390
Reputation: skatamatic will become famous soon enough skatamatic will become famous soon enough 
Solved Threads: 39
skatamatic skatamatic is offline Offline
Posting Whiz

Re: Another beginner who needs to get one a foot in.

 
1
  #7
Nov 3rd, 2008
Originally Posted by DemonGal711 View Post
To understand the fundamentals, just work out a program and see if it produces what you want it to. That's how I learned really.

Fundamentals are things like remember your semi-colons at the end of code lines, close anything you opened (whether that be braces, brackets, parenthesis, quotes, or files), comment tags and system ("pause"); are your friends, and make it easy for you to read.

There's nothing really ground breaking you need to know other then those things, which become second nature after a while of using them.
I wouldn't sugguest using system("pause"), as it's not portable :O. cin.get() is a better way to pause in the console.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 973
Reputation: Alex Edwards is a jewel in the rough Alex Edwards is a jewel in the rough Alex Edwards is a jewel in the rough Alex Edwards is a jewel in the rough 
Solved Threads: 107
Alex Edwards's Avatar
Alex Edwards Alex Edwards is offline Offline
Posting Shark

Re: Another beginner who needs to get one a foot in.

 
0
  #8
Nov 3rd, 2008
Originally Posted by Levio91 View Post
Eh that's not exactly what I meant. I'm going to write a specific question, please answer if you can, thanks.

Q. Is there a c++ dictionary of inputs I can use?

That is the only question I can think of because I'm so confused about how programming works.

(Note: I can follow along with lessons in books but I never learn anything that I can use to work on my own projects.
There is a Standard Library of predefined classes if that's what you're asking for.

If you're asking for different ways of doing something, you're better off searching MSDN or simply experimenting and finding out the hard way.

http://www.sgi.com/tech/stl/table_of_contents.html (I'm sure you know about this)

http://msdn.microsoft.com/en-us/library/3bstk3k5.aspx (Another kind of reference to C++, with some Microsoft-specific implementations )

http://www.cprogramming.com/reference/ (syntax reference)


As for learning something to use for your own projects, you might be better off studying C++ and then reading a dictionary to understand the terms of things in a human-readable way. Then it might be easier to create programs that are easy to understand and relate to.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 5
Reputation: Levio91 is an unknown quantity at this point 
Solved Threads: 0
Levio91 Levio91 is offline Offline
Newbie Poster

Re: Another beginner who needs to get one a foot in.

 
0
  #9
Nov 3rd, 2008
Originally Posted by Alex Edwards View Post
There is a Standard Library of predefined classes if that's what you're asking for.

If you're asking for different ways of doing something, you're better off searching MSDN or simply experimenting and finding out the hard way.

http://www.sgi.com/tech/stl/table_of_contents.html (I'm sure you know about this)

http://msdn.microsoft.com/en-us/library/3bstk3k5.aspx (Another kind of reference to C++, with some Microsoft-specific implementations )

http://www.cprogramming.com/reference/ (syntax reference)


As for learning something to use for your own projects, you might be better off studying C++ and then reading a dictionary to understand the terms of things in a human-readable way. Then it might be easier to create programs that are easy to understand and relate to.
Yes this helps, thanks.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 36
Reputation: freudian_slip is an unknown quantity at this point 
Solved Threads: 4
freudian_slip's Avatar
freudian_slip freudian_slip is offline Offline
Light Poster

Re: Another beginner who needs to get one a foot in.

 
0
  #10
Nov 3rd, 2008
If you are really determined to learn it on your own, start with little projects. In fact, if you go to one of the stickied threads above, there are a bunch of problems for beginners that you can try to work on. And whenever you have problems, try to figure it out on your own. This is what tremendously helps me learn how to code. You search for answers and in the process you learn more and more about everything, syntax, logic, how memory are allocated, etc.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC