I am trying to port Object C to some C ++ code. It includes iostream
and sstream
, but Objective-C does not recognize them. What should be done?
You can use iostream
and sstream Objective-C ++
Just make sure that your source code file ends with
.mm
instead of .m
and you will be able to add a standard C ++ To use the library you may need & lt; Stream & gt; Including
.
Comments
Post a Comment