Sometimes cin.get() takes something from buffer (or something), I think I heard.
Try doing a cin.get(ch).get(ch);
#include <iostream>
int main()
{
std::cout << "Hello World" << std::endl;
char ch;
cin.get(ch).get(ch);
return 0;
}
I know it isn't pretty, but it should work. You would maybe be able to do cin.get().get(). I thought I could too, but g++ started whining about it.
/ Mads