Skip to content

xuyanshi/cpp-learning

Repository files navigation

cpp-learning

Amirkabir University of Technology 1400-2: Advanced Programming Course

References

C++ Basics

Assignments (Completion Date)

  • HW1: Implement a Matrix class and associated functions
  • HW2: Implement a program that simulates the execution process of a cryptocurrency client/server
  • HW3: Implements a Binary Search Tree (BST)
  • HW4: Implements shared_ptr and unique_ptr smart pointers in C++
  • HW5: Implement multiple classes using inheritance and polymorphism
  • HW6: Solve 4 problems using the STL library
  • HW7: A Python project

Set Up

This is for Linux or WSL

  1. Git clone the URL
  2. Install cmake
sudo apt install cmake make 
  1. Install googletest
git clone https://github.com/google/googletest.git -b release-1.12.1
cd googletest # Main directory of the cloned repository.
mkdir build # Create a directory to hold the build output.
cd build
cmake .. # Generate native build scripts for GoogleTest.
make
sudo make install
  1. Turn the value to false, uncomment the very part in unit_test.cpp

  2. Compile

mkdir build
cd build
cmake ..
make

Reference

Fontzs

Thanks for CSDIY

About

AUT 1400-2: Advanced Programming Course

Resources

License

Stars

Watchers

Forks