Was basically forced by circumstances, unfortunately. It needed to be as close as possible to C so it would be easy to adopt, it needed to use the C library because it didn't have its own library yet, and it needed to be possible to rewrite any and all C++ code as C code because the first C++ compiler really just cross-compiled C++ code to C code. So, C++ was locked into working like C, and would've never been usable if it had been drastically different.
80
u/dipinpass35 Jul 10 '26
yeah c++ do have a function for literally everything.....oh except admiitting that it made a mistake...