DaniWeb Forum Index
>
Search Forums
Search Results
•
•
•
•
Showing results 1 to 1 of 1
Search took
0.02
seconds.
Search:
Posts Made By:
NetSpider
Save these search results for 24 hours
Forum:
C++
Oct 21st, 2007
Replies:
27
replacement of getch()
Views:
134,041
Posted By
NetSpider
Re: replacement of getch()
#include <iostream>
using namespace std;
void main(){
cout << "hit any key";
cin.get(); // waiting for any input
}
cin.get(); or std::cin.get(); if we don't using namespace
all works fine.
Showing results 1 to 1 of 1
Latest Posts
Today's Posts
All Forums
Unanswered Threads
All Forums
Related Forum Features
DaniWeb News Stories
DaniWeb Code Snippets
DaniWeb Tutorials
DaniWeb Product Reviews
DaniWeb White Papers
Forum Search
About Us
|
Contact Us
|
Advertise
|
DaniWeb
|
Acceptable Use Policy
|
©2003 - 2009 DaniWeb® LLC