Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 697 Bytes

File metadata and controls

16 lines (15 loc) · 697 Bytes

Exercises

This is a repository for programing exercises in C++ and Python to give students practice in developing code.

Steps:

  1. Fork the GitHub to your own repository
  2. Clone your new GitHub repository to your local machine by using “git clone”
  3. Complete an exercise
  4. Once ready to check an exercise either
    1. Push to GitHub
    2. Locally check Python
      1. Run “python3 -m pip install pytest” to install pytest
      2. Run “python3 -m pytest” to test the python exercises
    3. Locally check C++
      1. Run “make” to compile all exercises (g++ compiler)
      2. Run exe file with input redirection
      3. Example: ./ex01a.exe < ex01.input.txt