Previous Lecture lect10 Next Lecture

lect10, Tue 02/12

Numerical Base Conversions, C-strings vs C++ strings

Announcements:

Notes on Testing and Debugging:

Notes on Initializing and Using Stream Variables:

# Lecture Material

## Counting Numbers in Different Numerical Bases:

Positional Notation

Converting Binary to Decimal

Converting Binary to Octal or Hexadecimal

Algorithm for converting Base-10 to other bases

Why is this useful?

C-strings vs C++ Strings

Note:

Next time: