BugInTheSYS

Untitled

Oct 4th, 2011
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.13 KB | None | 0 0
  1. char *Char(string input)
  2. {
  3.     char *result;
  4.     result = new char[input.length() + 1];
  5.     strcpy(result, input.c_str());
  6.     return result;
  7. }
  8.  
Advertisement
Add Comment
Please, Sign In to add comment