NSString to char[]
NSString to char[]
- Subject: NSString to char[]
- From: Jerry Brace <email@hidden>
- Date: Sun, 24 Jul 2005 14:26:22 -0230
I have a NSString set up like so:
NSBundle *thisBundle = [NSBundle bundleForClass:[self class]];
NSString * path = [thisBundle pathForResource:@"wakein" ofType:@""];
Now I need to assign "path" to:
char sysctlPath[]
(it has to be a C string)
Any ideas?
Thanks,
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden