This is how you increment a pointer to read the string from a certain point.
Now how should i go to do the same with an array like response[255] ?
Should i use
or is there anything better?Code:pos = str.find("live"); // position of "live" in str str3 = str.substr (pos); // get from "live" to the end
Code:int main() { char * response = "c:\\hello world"; for(int i=0;i<3;i++) *response++; printf("%s\n", response); return 0; }