chapter 7: Strings

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

object

related data that come with a set of functions that operate on it like cout and string.

2
New cards

index

a variable used to select one of the members of an ordered set like a character from a string.

3
New cards

traverse

to go through each of the elements and perform an operation on each one in an ordered set.

4
New cards

counter

a variable used to count something, and it increments after every iteration

5
New cards

increment

increasing the value by one (++ operator)

6
New cards

decrement

decrease the variable by one (-- operator)

7
New cards

concatenate

joining two or more variables that are being operated on, end to end.

8
New cards

booleans (bool)

returns a true or false response

9
New cards

character (char)

returns a character

10
New cards

integer (int)

returns an integer

11
New cards

floating point numbers (double)

returns a real number

12
New cards

string

an array of characters

13
New cards

length function

returns the length of a string in integer.

14
New cards

run time error

errors that occur only after you run the program

15
New cards

find

takes a character and finds the index where the character appears

16
New cards

isalpha

returns if the string contains characters.

17
New cards

isdigit

returns if it is a digit

18
New cards

isspace

identifies all “white space” like tabs, new lines, and spaces

19
New cards

issupper

checks if it is uppercaseis lo

20
New cards

islower

checks if it is lowercase

21
New cards

toupper

converts from lowercase to uppercase

22
New cards

tolower

converts the uppercase letters into lowercase

23
New cards

how to extract characters from a string

“[ ]” indexing

24
New cards

indexing in c++ begins at what number

0

25
New cards

size_t

used for numbering in arrays