Hello..

Is this:

Code:
char *query = new char[512];
char *ptr = query;
*ptr++ = 0;
*ptr++ = 15;
*ptr++ = 0;
*ptr++ = 1;
the same as:

string query = "01501";

?

If not, how should I define string query then?