Created
May 31, 2016 03:19
-
-
Save b4284/4707ee77fcd55b64a1f0746838334080 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| bool StringCompare(string a, string b) { | |
| char *aa = strdup(a.c_str()); | |
| char *bb = strdup(b.c_str()); | |
| if (strcmp(aa, bb) == 0) { | |
| return true; | |
| } else { | |
| return false; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment