| | |
I would like to learn C++
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2009
Posts: 3
Reputation:
Solved Threads: 0
yes i can help you.please tell me clearly your query.
•
•
Join Date: Jan 2009
Posts: 22
Reputation:
Solved Threads: 0
Here is the link that explain step by step procedure:
http://www.cs.cf.ac.uk/Dave/C/node3.html
Hope this will work for you
http://www.cs.cf.ac.uk/Dave/C/node3.html
Hope this will work for you
•
•
Join Date: Nov 2007
Posts: 390
Reputation:
Solved Threads: 39
•
•
•
•
If you compile it and it won't run maybe try adding system("PAUSE"); at the end of your code (right before return 0. This will only work on Windows and isn't portable.
C++ Syntax (Toggle Plain Text)
cin.ignore(cin.rdbuf()->in_avail()); cin.get();
dont forget...... www.codeblocks.org
Atheist: God is man made imagination, he doesn't exist!
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
•
•
•
•
Instead use this:
C++ Syntax (Toggle Plain Text)
cin.ignore(cin.rdbuf()->in_avail()); cin.get();
And DO NOT use
system("PAUSE"); . Not only is it non-portable, but its also a VERY expensive system call!You should probably read the Sticky "How Do I Clear the Input Buffer?"
Chris
Last edited by Freaky_Chris; Feb 6th, 2009 at 1:13 pm.
Knowledge is power -- But experience is everything
![]() |
Similar Threads
- Which language to learn? (Computer Science)
- how i can learn c++ (C++)
- How to learn graphical part of C++? (C++)
- what is the best book to learn SQL fast and quick (MS SQL)
- need to learn more just not sure where to start (Viruses, Spyware and other Nasties)
- Learn How to Spot a 16-Bit Application (Windows tips 'n' tweaks)
Other Threads in the C++ Forum
- Previous Thread: C++ Program that Displays Initials
- Next Thread: Finding The Even Numbers DO NOT RUN PROGRAM
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linkedlist linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets







. This will only work on Windows and isn't portable.