954,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Sorry but im new at this but i have some questions

well i´m taking some classes on C++, but i have no idea what namespacing std means or why i use getch(); an to return 0 how do i know which libary is which like the iostream or conio and how do you make your program finish and restart agian i know so basic stuff like getting sums dividing etc but no cool stuff like loops and other things

pxndx
Newbie Poster
20 posts since May 2009
Reputation Points: 10
Solved Threads: 1
 

www.cprogramming.com

go there and theres a tutorial section on c++ that will get you started.

clutchkiller
Junior Poster
183 posts since Jul 2008
Reputation Points: 23
Solved Threads: 3
 
but i have no idea what namespacing std

when the projects grows bigger and bigger , you will face the difficulty of finding
a new name for new identifiers without altering their meaning or you will
end up with long names like 'paser_sub_componment_xml_get_input'.

so that's where you can use namespaces. For a example namespace std refers to the standard library.
I think you should read the a C++ book and do examples. I suggest you to download knoppix like linux distribution and do the particles of that book.
Here is the best book for a beginner that I found, and the good news is it's free. http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html#HTMLFormat

or read it online here ,
http://www.codeguru.com/cpp/tic/tic_c.shtml

you can do a lot if you can download and burn a knoppix CD , it contains the everything that you need. the compilers assemblers IDE's and editors.

and for you're question on namespaces you can read http://www.codeguru.com/cpp/tic/tic0110.shtml directly , but recommand thing is start from the chapter 1.

NicAx64
Posting Pro
536 posts since Mar 2009
Reputation Points: 86
Solved Threads: 43
 

Or read the following (IMO the best) free e-book about C++ programming: http://msdn.microsoft.com/en-us/beginner/cc305129.aspx :)

tux4life
Nearly a Posting Maven
2,350 posts since Feb 2009
Reputation Points: 2,134
Solved Threads: 243
 
Or read the following (IMO the best) free e-book about C++ programming: http://msdn.microsoft.com/en-us/beginner/cc305129.aspx :)

How unfair! I bought that book once, I never knew it was on msdn. :P

William Hemsworth
Posting Virtuoso
1,591 posts since Mar 2008
Reputation Points: 1,429
Solved Threads: 129
 
How unfair! I bought that book once, I never knew it was on msdn. :P


Don't worry, buy yet another book! ;)

ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You