2 ms·
I just finished my first semester in C++, and as someone formerly familiar with PHP and javascript I was surprised at how much of an issue this is when you don'
by krapp 13y ago
I just finished my first semester in C++, and as someone formerly familiar with PHP and javascript I was surprised at how much of an issue this is when you don't have operator overloading and bounds checking and have to manage memory and types yourself. I was spoiled by just expecting "string"+int to work.
I ended up taking all user inputs as strings then trying to cast them into floats with atof() to avoid overflows... which I'll probably learn is a terrible idea next semester.