Conversation
Notices
-
@pernia @dushman @meowski @kirby >where you HAVE to put shit in a class for it to do anything and every library is implemented in classes
no but its easy to think like that because "class" is synonymous with "struct" in c++, simply allowing methods(obj.f() instead of f(&p)) doesnt make it like Java in any sense, templates may be hard to grasp but they can be very rewarding and make life easier
the gain of c++ over c is that you can be more dynamic with it at the cost of conpile times, and excellent libraries like Abseil are all in C++ just for that reason