sorry if i confuse you, i'll try give a example.
FX.
Expand|Select|Wrap|Line Numbers
- int DoSome(string *inp) {
- if (inp.substr(0,6)=="myflow") { // here's my problem, inp only points, and don't got the method substr.
- inp = inp.substr(6);
- // lot of code here
- }
- }
- int main() {
- string hello;
- hello = "myflow123";
- DoSome(&hello);
- }
Regards