why Cstring.h wont work?

Started by
1 comment, last by CrunchDown 19 years, 8 months ago
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.
Advertisement
The header is named cstring, not cstring.h
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
sorry folks false alarm strcpy sure does work

This topic is closed to new replies.

Advertisement