Zebra0.com

cpp stringsStrings

Strings

Learn C++ in step-by-step lessons.

Strings

Until now, you have worked with string constants such as cout<<"hello World\n";. If you want to input, manipulate and output string, the string class provides a number of built-in functions that make string processing easier.


Goals:

Objectives:

Please study the material at each of the links below.

  1. Hello World with strings: video Hello World with strings: video
  2. Hello World with strings
  3. Hello with getline Hello with getline
  4. The substr method with drill
  5. String: length() method with drill
  6. Input name as Last,First, break into first and last
  7. Validating String as Social Security number
GlossaryGlossary for strings lesson
Full Glossary