Skip to content

Instantly share code, notes, and snippets.

@multi-naveen
Created March 17, 2014 19:28
Show Gist options
  • Select an option

  • Save multi-naveen/9606520 to your computer and use it in GitHub Desktop.

Select an option

Save multi-naveen/9606520 to your computer and use it in GitHub Desktop.
C/C++ : convert a string into char constant
const char *pa = givenString.c_str();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment