why Cstring.h wont work?
I'm trying to use cstream.h out of this book to copy a string to another string. However it doesn't seem that cstream.h shipped with c++.
Here is the function I need to use:
strcpy (str, str);
Weird thing is, the program still compiles fine with usage of this supposed unknown function that doesn't work.
What happens is, when I run the program, it appears to hang when it gets to this point. I'm really not sure. . does anybody know how to copy string to string using what comes with VC++ 6.0. Thank you very much.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement