cin and cout

and
input
output

#1

why is it displaying the message compiler does not support cin and cout when namespace std and other header files are included appropriately?


#2

have you selected the appropriate compiler?


#3

The header file mentioned in online compiler is represented as #include (same in dev compiler) whereas in Turbo c++ it is represented as #include<iostream.h>. The change is here(online compiler) you no need to include ‘.h’. I think sometimes occur due to these problems. If you include your code it is easy to find out problem. Orelse in your compiler library files are not included properly


#4

Please paste your code as well so that we can figure out what went wrong.


#5

have you included iostream? just asking…