Zebra0.com

cpp stringsIntroduction to C++ Programming

Introduction to C++ Programming

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.

Please study the material at each of the links below.

  1. Hello World with strings: video Hello World with strings: video
    /cpp/videos/cpp-strings.mp4

  2. Hello World with strings

  3. Hello with getline Hello with getline
    /cpp/videos/cpp-getline.mp4
  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