Sunday, August 7, 2011

Officially confused with this C++ programme that used to work?

You mistake is calling cin.get() , with no parameter it should be cin.get(Input,256) where Input is the name of the variable to store the input and 256 is its length in characters. Without parameters it will build probably error free but it will do nothing.

No comments:

Post a Comment