Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Undeclared Identifier WTF !?

hi,
i was/am using VC++ 2010 and getting error 'undeclared identifier' for cin and endl (might be getting for cout too lol) so i used 'std::cin' and i get another error saying 'is not member of std'😭
such BS is the reason why i gave up using VC++ some time back ._. why cant it be as normal as turbo c++ or something
what am i to do? :/

and no i didnt miss <iostream>
Please post some code.
Will make it much easier.
[Image: 4bj39qK.png]
(Dec 15, 2014 04:44 AM)YoungHacker Wrote:  hi,
i was/am using VC++ 2010 and getting error 'undeclared identifier' for cin and endl (might be getting for cout too lol) so i used 'std::cin' and i get another error saying 'is not member of std'😭
such BS is the reason why i gave up using VC++ some time back ._. why cant it be as normal as turbo c++ or something
what am i to do? :/

and no i didnt miss <iostream>

Number one. Why would you be using VC++ 2010? Isn't 2013 out? Oh wait a minute, you are referring to Turbo C++.
Oh its solved :D
Stupid mistake from my side lol

And if VC++ 13 is out I should use it?
I have no time lol (till march)..and using 10 because I have to
(Dec 15, 2014 09:38 AM)YoungHacker Wrote:  Oh its solved :D
Stupid mistake from my side lol

And if VC++ 13 is out I should use it?
I have no time lol (till march)..and using 10 because I have to

No, stick with 2010, it only lacks the support for all of the newer language standards that 2013 has. 🤦‍♂
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
Now, now dead10cc. He's obviously new.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by ChickendipperMar 30, 2016 04:21 AM 7 284 Mar 30, 2016 04:21 AM
Last Post: Chickendipper
[C] by Benoit ᵇᵃˡˡˢNov 17, 2014 12:00 PM 4 289 Nov 17, 2014 12:00 PM
Last Post: Benoit ᵇᵃˡˡˢ
[Python] by seizeableOct 18, 2014 07:30 PM 4 251 Oct 18, 2014 07:30 PM
Last Post: glob