943,954 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 747
  • C++ RSS
Nov 3rd, 2008
0

Another beginner who needs to get one a foot in.

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Levio91 is offline Offline
5 posts
since Nov 2008
Nov 3rd, 2008
0

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

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.
Reputation Points: 392
Solved Threads: 108
Posting Shark
Alex Edwards is offline Offline
971 posts
since Jun 2008
Nov 3rd, 2008
0

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

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."
Reputation Points: 2035
Solved Threads: 645
Senior Poster
ddanbe is offline Offline
3,740 posts
since Oct 2008
Nov 3rd, 2008
0

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

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.
Reputation Points: 18
Solved Threads: 10
Junior Poster
DemonGal711 is offline Offline
190 posts
since Apr 2008
Nov 3rd, 2008
0

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

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Levio91 is offline Offline
5 posts
since Nov 2008
Nov 3rd, 2008
0

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

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)
Reputation Points: 352
Solved Threads: 109
Master Poster
skatamatic is offline Offline
779 posts
since Nov 2007
Nov 3rd, 2008
1

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

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.
Reputation Points: 352
Solved Threads: 109
Master Poster
skatamatic is offline Offline
779 posts
since Nov 2007
Nov 3rd, 2008
0

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

Click to Expand / Collapse  Quote originally posted by Levio91 ...
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.
Reputation Points: 392
Solved Threads: 108
Posting Shark
Alex Edwards is offline Offline
971 posts
since Jun 2008
Nov 3rd, 2008
0

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

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Levio91 is offline Offline
5 posts
since Nov 2008
Nov 3rd, 2008
0

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

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.
Reputation Points: 11
Solved Threads: 4
Light Poster
freudian_slip is offline Offline
36 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: C# faster than C++ ??
Next Thread in C++ Forum Timeline: how to set variable in header file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC