You are not logged in. Please login at to post your questions!


cin and cout

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

asked 21 Aug '17, 20:26

ambika011's gravatar image

accept rate: 0%


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

(21 Aug '17, 20:36) utkalsinha5★

have you included iostream? just asking..

(21 Aug '17, 21:22) kauts_kanu5★

have you selected the appropriate compiler?


answered 21 Aug '17, 22:29

sudip_95's gravatar image

accept rate: 10%

The header file mentioned in online compiler is represented as #include <iostream>(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


answered 22 Aug '17, 23:50

ajith08's gravatar image

accept rate: 0%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 21 Aug '17, 20:26

question was seen: 206 times

last updated: 22 Aug '17, 23:50