• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Disappearing fstream?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disappearing fstream?


  • Subject: Disappearing fstream?
  • From: email@hidden
  • Date: Tue, 3 Feb 2004 11:59:12 -0600 (GMT-06:00)

Hi I have a cocoa app that I am working on that has an OBJC++ file in it. The program compiles fin when I do not include the header in any files. But Whenever I try to use the Class, my fstream lib suddenyl cannot be found and there is a parse error before namespace in "using namespace std;"

ex from header

...
#include <fstream>
using namespace std;

....


class model implementation is a .mm file.

and in the class I am trying to use model in, mySolid, all i have to to get it to disappear is to include model.h

compiles
//#import "model.h"

gives errors

#import "model.h"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Getting WebKit Form Values
  • Next by Date: vImage ARGB frustrations
  • Previous by thread: Re: NSImageView save into Bmp File?
  • Next by thread: vImage ARGB frustrations
  • Index(es):
    • Date
    • Thread