Skip to content

VictorBro/The_CPP_Programming_Language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The C++ Programming Language - Exercise Solutions

Welcome to the The C++ Programming Language (4th Edition) exercise solutions repository. This repository contains solutions to the exercises from Bjarne Stroustrup's book on C++.

Project Overview

This repository provides solutions to exercises from the book, using modern C++ practices. Each chapter covers key concepts, from basic syntax to advanced features.

Table of Contents

  1. Installation
  2. Compiling
  3. Usage
  4. Example
  5. Contributing

Installation

Clone the repository:

git clone https://github.com/VictorBro/The_CPP_Programming_Language.git

Ensure you have a C++ compiler that supports C++11 or later installed. For example, install g++ via:

sudo apt-get install g++

Compiling

To compile any solution:

g++ -o output_name solution_file.cpp

Usage

Navigate to the relevant chapter directory and compile the solution.

Run the compiled program:

./output_name

Example

For example, to compile and run the Chapter 1 solution:

g++ -o calc 10_11_calculator.cpp
./calc

Contributing

Contributions to this project are welcome. Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make changes and add them (git add .).
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

About

The C++ Programming Language 4th edition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •