why doesnt getch() ,cin , cout etc work...?

Recommended Answers

why doesnt getch() ,cin , cout etc work...?

They work great when you include the correct header files.

Jump to Post

All 2 Replies

why doesnt getch() ,cin , cout etc work...?

They work great when you include the correct header files.

Member Avatar

Include iostream, don't forget using namespace std (happens with me coz i used turbo c++ which doesn't need us to specify namespace std)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.