Created
February 7, 2013 12:58
-
-
Save Lewuathe/4730746 to your computer and use it in GitHub Desktop.
[const char*] with const_cast<char*> ref: http://qiita.com/items/3e30a87e82fda3d015b6
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
| char **params; | |
| params = new char*[paramNum]; | |
| params[0] = const_cast<char*>("param1"); | |
| params[1] = const_cast<char*>("param2"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment