Skip to content

Jianping-Duan/cxx_primer_plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Primer Plus (Sixth Edition)

Ten years ago, I read Stephen Prata's C++ Primer Plus (Fifth Edition), which taught me a lot about C++ programming. C++ is a very interesting computer programming language and one of the more popular ones. I've rarely worked on software projects developed in C++, the main reason is that I prefer C programming language

In 2021, I saw the sixth edition of "C++ Primer Plus" on a bookstore website, so I decided to buy it. This was primarily for several reasons. First, most software companies still primarily develop in C++, and the market is quite broad. Second, I had forgotten most of the C++ programming knowledge I had previously learned, and I needed to review it. Third, I had given the fifth edition to a friend in 2015. After purchasing the sixth edition, I spent about a week re-studying it. Later in my career, I still didn't choose to apply for a job related to C++ development.

I've been unemployed since May of this year, and finding a job this year has been more difficult than in previous years. One quiet evening in late August, I once again thought of the book "C++ Primer Plus." Many C++ concepts were becoming increasingly fuzzy. So, I decided to review the sample code in the book and work through the programming exercises at the end of each chapter.

The subdirectories, source files, and related header files in this project are named based on the content in the sixth edition of C++ Primer Plus. Double underscores separate the number from the title, while single underscores separate words within the title; for example, 'chpt05__Loops_and_Relational_Expressions' corresponds to '5 Loops and Relational Expressions.' Each chapter subdirectory contains a 'Programming_Exercises' directory, which contains the programming exercise code files for that chapter. These files are named starting with 'pe' followed by an underscore and the exercise number; for example, 'pe5_1.cpp' which represents 'Exercise 1 in Chapter 5.' If the exercise code files span multiple files, they are named using this prefix, followed by a double underscore and the title; for example, 'l9_11__namesp.h'.

The project was written in vscode and compiled and tested with mingw64 and g++.

About

Source code and programming exercises from the book C++ Primer Plus (Sixth Edition)

Resources

License

Stars

Watchers

Forks