hello,
I have a slight problem with MAC (well, iphone target, but this is a more general problem) and Obj c++ (I am at the sea atm so i have some problem compiling).
I have the following code:
and my problem is: will this code run if included WITHIN a ".cpp" file? What do I need to do to make it execute?
Thanks!
I have a slight problem with MAC (well, iphone target, but this is a more general problem) and Obj c++ (I am at the sea atm so i have some problem compiling).
I have the following code:
Code:
static NSString* uniqueID = nil;
const char *pID;
uniqueID = [[UIDevice currentDevice] uniqueIdentifier];
uniqueID = [[[uniqueID uppercaseString] stringByReplacingOccurrencesOfString:@":" withString:@"-"] copy];
pID = [uniqueID UTF8String];
Thanks!