| | |
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 application array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer dll dynamiccharacterarray email encryption error file format forms fstream function functions game generator getline graph homeworkhelper iamthwee ifstream image input int java lib list loop looping loops map math matrix memory multidimensional multiple newbie news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg simple sorting string strings template text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets







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