This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void stringReverse(char *str) | |
{ | |
char *p1, *p2; | |
if (!str || !*str) | |
{ | |
NSLog(@"No string passed into reverse function."); | |
} | |
for (p1 = str, p2 = str + strlen(str) - 1; p2 > p1; ++p1, --p2) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Date(new Date().getTime() + 24 * 60 * 60 * 1000) |