Advertisement
Guest User

C++ Integers

a guest
May 6th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Variable type What it means Special Notes
  2. int Integer Division acts strangely because the answer must be an integer
  3. float Number that may have a decimal in it Division on a float acts like division on a calculator
  4. double Number that may have a decimal in it Doubles have more precision (more decimal places) than floats
  5. char A single keyboard character (a letter or symbol) Arithmetic on chars does not make sense
  6. string A word (or jumble of letters) Must #include <string> if you want to us
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement