Skip to content

xiaolei-shuai/cpp-primer-learning

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cpp logo

cpp-primer-learning

Build Status LICENSE languange chat

Solutions for C++ Primer 5th exercises.

Introduction

This project is used to help people who want to learn C++ language by themselves.

I'm a C + + beginner and the code can be problematic. If you find a mistake, you can write an issue on GitHub and I'll fix it as soon as I can.

Download e-books or Source Code

You can get it from the relase:https://github.com/ybygjylj/cpp-primer-learning/releases/tag/1.0

My system environment

My system environment
Kernel x86_64 Linux 5.6.19-2-MANJARO
g++ version 5.5.0
editor neovim 0.4.3

Run c++ code quickly on linux

In Linux, compiling a CPP file from the command line and running it requires several commands to execute, so I created a shell to quickly compile and run the CPP code. You can execute the CPP file with the run statement by adding the alias directive definition.(in ~/.zshrc or ~/.bashrc)

alias run="~/Documents/c++/run.sh"

When you want to perform the test.cpp, you can execute the command:

run test.cpp

If your code is correct, it will run directly, otherwise an error will be thrown.

About

cpp-primer-learning

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.0%
  • Shell 1.0%