Answers

Question and Answer:

  Home  C C++ Errors

⟩ When i use cout or cin call & then either << or >> .....it shows declaration syntax error...what should i do?cout<<"anything";int a;cin>>a;return 0;?

If you are using Turbo C complier need to add #include<iostream.h> header file.

and If you are using Visual Studio then you need to add

#include<iostream>

using std namespace;

the above two statements.

 156 views

More Questions for you: