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)
@Th3Coder kewl! I don't really care for C (I did weight my options) because C++ is more usable with systems and software dev ;P.
@RayhanADev ooh... thanks for the info! :)
Your use of \n
and 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.
@m4rus3ru ohhhhhh
i (clearly xD) did not know that, thank you! Great things to know when learning a new language.
@RayhanADev You are welcome!
You can by the way also << flush
whenever you want to do it.
@m4rus3ru yay more tips :D
If there was a downvote button, now would be a good use for it xD
lame@ch1ck3n
exactly