Archived

This topic is now archived and is closed to further replies.

ironfroggy

more std::string

Recommended Posts

how do you find the length? And does anyone know a good internet resource for information on these sorts of things so i dont have to keep bothering people in forums? :-D

Share this post


Link to post
Share on other sites
Use the size function.

There''s a book online (in PDF format) free for download called Thinking in C++. I don''t remember where I originally got it, but I''m sure a good ol'' Internet search will do the trick.

Share this post


Link to post
Share on other sites
Have you even tried anything before posting on this board?

Both the .size and .length will do

There IS a length method, so...

Share this post


Link to post
Share on other sites