Script is written in C++
To compile it from .cpp, you need to have gcc installed.
check gcc:
$ gcc -v
or just run it using:
$ chmod +x main & ./main
If you don't have git, program will still works, but without synchronization.
After first git push, every time when you run script, changes while automatically synchronize.
$ sudo rm -r .git/
$ git init
$ git remote add origin git@github.com:<YOUR_NAME>/<NAME_OF_YOUR_REPO>.git
$ git branch -M main
$ git add .
$ git commit -m "First init"
$ git push -u origin main
To get new or other coding-university.md, visit jwasham / coding-interview-university
The script will compare the value with the previous days and will tell you with such an average per day how many days you have left until the end of the coding_university.md.
Print at the end something similar to this:
>>> You have done: 80 and there is: 420 left.
>>> You do average: 3 per day, and in that speed, you will finish in: 4 months.
main - exe file for linux
main.cpp - its main c++ script where you can make changes
coding_university.md - this is the source md file (you swap it with your file and progress)
data.txt - it's where your date with progress is stored
This is the extension of jwasham / coding-interview-university