8. Strings & C-Strings

Object-Oriented Programming Using C++.

Strings And C-Strings

Study Guide

Introduction To Strings And C-Strings

C-Strings

C-String I/O (Extended 2024/9/3)

C-String Documentation And Functions

strlen

strcpy

strcat

strcmp

Searching In C-Strings

C-Strings And Number Conversions

name_box.cpp, Version 1

Command Line Arguments

name_box.cpp, Version 2

The Palindrome-Number Problem

cpalnumber.cpp

The C++ string Class

string Class I/O (Extended 2024/9/3)

string Functions: Documentation And Examples

name_box.cpp, Version 3

palnumber.cpp

ipalnumber.cpp With string Iterators

A Comparison of the string Class and C-Strings

C-Strings and Scope

Bulletproof Code: Strings → Numbers

Worked Examples

pyramid.cpp, Version 2

cube.cpp and ccube.cpp

Software Development: The Anagram Problem

Searching and Sorting: bsearch And qsort

Practice Problems