Anything C can do, C++ can do better
C++ can do any thing better than C
No it can't, Yes it can, No it can't, Yes it can
No it can't, Yes it can, Yes it can, Yes it can!
This is for all of the aspiring game designers who started off with C++ but switched to C because C++ was too hard for them. Apparently making games is more than just daydreaming all day. C++ can be a real dream breaker. Deal with it, nerds.
I want standardized C++ ABI. I'm fucking tired of writing wrappers
#ifdef __cplusplus
class MyClass
{
public:
void func(const std::string& str);
};
#endif
extern "C" myclass_func(MyClass* myclass_void, const char* str)
//{
// ((MyClass*)myclass)->func(str);
//}
to glue pieces together: to call C++ from other DLLs, from other compilers(or different version of my compiler) that use different std::string