I’ll make a C++ project everyday for 30 days.
(a new learning challenge i’m trying…)
I’ll make a C++ project everyday for 30 days.
(a new learning challenge i’m trying…)
Hey, what’s up! I actually started this project a few days ago, (jan. 4th) but i’ve just finished setting up Flavortown, so i guess i gotta catch up with the devlogs… =) Day 1, 2, and 3 each took about 1 hour and a half to complete, but I couldn’t register the time as I was working on each in a separate folder… Day 4 is the first day i’ll be logging time of! (coming very soon)
I’ll mostly be posting the same as in my github page, as I’m also keeping track of my journey every day there. Anyways, here’s day one:
Day 1: Simple Calculator
Simple program which takes two numbers as an input, allows selecting between five basic math operations, and executes it. Uses the cmath library for powers, thread for sleep functions, and chrono for time literates.
concepts learned:
c++ file formats, installing compiler, and building.
basic usage of cin / cout objects.
float values
int / void function declaring and calling
importing of external libraries
sleep functions and time literates
if / else if operators
never trust vscode's error catcher, just build.
really, i spent almost one hour trying to fix an error that wasn’t even there anymore…
Log in to leave a comment