• 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
Just starting off in obj C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Just starting off in obj C


  • Subject: Just starting off in obj C
  • From: Michael <email@hidden>
  • Date: Fri, 24 Oct 2008 15:03:31 -0700

Is there an obvious reason why this is not working?


#import <Foundation/Foundation.h>

NSString *mytest();

int main (int argc, const char * argv[]) {

    NSLog(@"This is %@", mytest);
          return (0);
}


NSString *mytest() { return (@"foobar"); }


Thanks. _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Just starting off in obj C
      • From: Paul Russell <email@hidden>
    • Re: Just starting off in obj C
      • From: Ken Thomases <email@hidden>
    • Re: Just starting off in obj C
      • From: Alexander von Below <email@hidden>
  • Prev by Date: Portability of User Scripts
  • Next by Date: Re: Just starting off in obj C
  • Previous by thread: Portability of User Scripts
  • Next by thread: Re: Just starting off in obj C
  • Index(es):
    • Date
    • Thread