The Lamest Repl I've Ever Made
Well ya'll have been asking me to learn C/C++ ever since last year and I finally decided to work on it :D
So here is the lamest Repl I have ever made, it's a stupidly basic C++ project taking in input and feeding it back out lol. I'm probably going to be writing all my code for learning C++ in this Repl so you can follow it if you want.
I'm also learning C++! It's similar to C, so I would recommend you to master C first! (I mean, I'm still learning about structures in C lol)
Your use of
endl is a bit too random for my taste ;)
There is a small, but in lager scale important difference between the two.
While both perform a line-break
endl also flushes the output buffer.
This means that it performs worse than
\n, but should eventually be used to flush the output buffer.