Jump to content
xisto Community
NelsonTR4N

String Library Functions A few questions

Recommended Posts

Hi everyone, I have a NEW questionI am learning about strings and I don't understand what some string functions are...strcpy()strcat()strcmp() andstrlen()"C++ Beginner's Guide by Herbert Schildt" explained what the functions do but I am still confused. I read the functions many times and looked up examples...If you can explain what each of them are and do, I would be grateful.Thanks in advance!

Share this post


Link to post
Share on other sites

I suppose that you already know that you usestrcpy() for copying a string from somewhere to somewhere else in your programstrcat() for displaying a string strcmp() for comparing two strings.strlen() for knowing the size of a string.

Share this post


Link to post
Share on other sites

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

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.