Hi there!
1-I'm faced with this error when I used cin and cout instructions
what should I do??
1 2 3 4
|
Error 1 error C2065: 'cin' : undeclared identifier
c:\users\mahsa\documents\visual studio 2012\projects\prozh\consoleapplication1
\consoleapplication1\source.cpp 11
|
2-adding to many libraries to my project does it have any affect on my program execution speed?
Last edited on
sounds like you didnt #include <iostream>
and don't worry too much about the number of libraries, #includes
And if you are using cin and not std::cin then you need using namespace std;
too.
Last edited on
I added
#include<iostream>
but it doesn't make difference
:((((
what a shameful mistake I made
:/
thank you