Jump to content
  • Advertisement
Sign in to follow this  

why Cstring.h wont work?

This topic is 5225 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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!