1

trying #include "iostream" but iostream is not found, but stdio.h works fine.

What am I missing?

Tried using: iostream and sstream for Objective-C

Same errors even when converting file extension to ".mm"

Tried: 'iostream' file not found error occur in xcode 4.5?

No good as well.

and... Usage of C++ in Objective C++?

15
  • That's not a standard header. Commented Jul 5, 2015 at 22:23
  • @jdl Use #include <iostream> Commented Jul 5, 2015 at 22:23
  • @Vlad... now I get "iostream" not found Commented Jul 5, 2015 at 22:24
  • @jdl Did you indeed write <iostream> and not "iostream"? Commented Jul 5, 2015 at 22:26
  • @VladfromMoscow, Using quotation marks is required to "try angle brackets" if the lookup fails. Commented Jul 5, 2015 at 22:27

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.