Sign in to follow this  

why Cstring.h wont work?

This topic is 4860 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites

This topic is 4860 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this