C++ programming exercises from book "C++ Primer Plus", 6th Edition by Stephen Prata
- Display text message
- Convert miles to kilometers
- Simple functions
- Convert years to months
- Convert celsius to fahrenheit
- Convert light years to astronomical units
- Display time
- Convert centimeters to feet and inches
- Calculate BMI
- Convert degrees, minutes, and seconds to degrees
- Convert seconds to days, hours, minutes and seconds
- Percentage of the world's population
- Gasoline consumption(liters per 100 kilometers)
- Gasoline consumption(miles per gallon)
- User input and char arrays
- User input and strings
- Concatenate char arrays
- Concatenate strings
- Simple structure
- Array of structures
- Display structure
- Structures and dynamic memory allocation
- Dynamic array of structures
- Average score and std::array
- Display integers in a range
- Factorials
- Sum of numbers
- Investments(Daphne and Cleo)
- Book sales(1 year)
- Book sales(3 years)
- Car catalog(simple structure and dynamic array)
- Count entered words(char array)
- Count entered words(string)
- Display pattern with stars and dots
- Display non-numeric characters
- Average value of the donation
- Simple menu
- Display selected data from list
- Calculate tax value
- Enter and display sponsor names
- Count words
- Count characters in text file
- Read sponsor data from file
- Harmonic mean
- Average of golf scores
- Functions and structures
- Chance of winning lottery
- Recursive factorial
- Fill, show and reverse array
- Properties and pointers
- Calculate expenses
- Arrays, structures and students
- Function array
- Display text p times
- Set structure values
- Convert text to uppercase
- Set/Show structures and char arrays
- Find maximum of 5 values(templates)
- Find maximum of n values(templates)
- Various function templates
- Bank account
- Simple person objects
- Object oriented golf
- Object oriented sales
- Stack of customers
- Move class
- Betelgeuse plorg
- Linked list
- Vector random walk
- Modified vector class
- Random walk statistics
- Time class with friend functions
- Stones and pounds
- Compare Stonewt objects
- Imaginary numbers
- Simple palindrome
- Advanced palindrome
- Hangman
- Sort array and remove duplicates(normal function)
- Sort array and remove duplicates(function template)
- Bank simulation with std::queue
- Lottery
- Birthday party
- Test std::list and std::vector
- Book reviews