Two strange problems with c++ in IDE !

qnx is 6.3.0

  1. has solved. :laughing:
    2, In IDE PHAB program. if there are some strcpy(filepath,"…") sentences. then the last one always copys wrong. who can help me solve it ,Thanks very much!

I don’t understand what you mean by “the last one always copys wrong”.

If you mean that strcpy doesn’t work. I suggest you look at you program first, must be a bug in it.

I mean that , if there are four ctrcpy(…) sentences , then the fourth one can’t copy right. if I add one more , then the fourth one copy right, But the fifth one is wrong . So It always the last one can’t work correctly !

The most likely problem is a bug in your software. Can you post your code?