C++ equvalents of certain C# functions/methods

some time ago i created a game in C#. It's basically one of those where a car is moving side to side to avoid objects. there are a few parts that i don't know the equivalent in C++.

1.
In C#: Console.KeyAvailable
looking online i found :
1
2
3
4
public:
static property bool KeyAvailable {
	bool get ();
}

however i am unsure how to use this and the sample does not compile
http://msdn.microsoft.com/en-us/library/system.console.keyavailable.aspx

2.
relating to 1, in C# Console.ReadKey()
again online through the same site i found some code that doesn't help.

i would use 1 and 2 to give the user an opertunity to make a move (left or right) but if nothing was entered the program would still continue.

3.
some kind of stopwatch. used to increase the speed of the game after certain time intervals


any help or insight would be greatly appreciated
None of these are possible with just C++ I/O...you'd need to get something like ncurses which allows you to do this kind of stuff. (Not really what the console was designed for but...)
ok thanks, i figured as much.
Topic archived. No new replies allowed.