I want to print to a word of length n in a string .Using by C ++ langues.I have not know funtions in string.h support that.
i'm happy when you help me!
thank you

Recommended Answers

All 2 Replies

Do you want to print the length of a string?

If you want to print the length of a string just use the "length()" function.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.