-
-
Save chrisdickinson/8bbc51fd30970fbfac22 to your computer and use it in GitHub Desktop.
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
int algetstring(const char* str, const char* str2) { | |
return 0; | |
} | |
int main(void) { | |
char* label = new char[23]; | |
int sSuccess; | |
if(sSuccess == algetstring("label", label)) { | |
} | |
} |
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
int algetstring(const char* str, const char*& str2) { | |
return 0; | |
} | |
int main(void) { | |
char* label = new char[23]; | |
const char* label2 = label; | |
int sSuccess; | |
if(sSuccess == algetstring("label", label2)) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment