Message from C, C++ discussions

November 2019

— Learn some manners, dude
https://en.wikipedia.org/wiki/Burden_of_proof_(philosophy)

— 

This is not how this works, both languages compile to assembly, it is really up to the compiler to do the job on optimization

— Fact is, if you got a significant more efficient algorithm to solve a certain problem, it will impact your performance way more than "using c or c++"

Message permanent page

— Oh that's a good point

— This is completely false, from all the tests I could perform, C and C++ performance are comparable, and are all the more comparable in the freestanding implementation of both of them (meaning that compared to the hosted implementation, it has a lower (inexistant) variance of performance)

Message permanent page

— Sorry for my question, I want to open a file and write on with C++, but the file is in a folder protected by password, any ideas?

Message permanent page

— Well, I guess you should run the software that protected that folder in the first place. Otherwise, I don't think there's a way to do it

Message permanent page

— One question

— Try googling

— If i have on a derived class a pointer should i create

— Destructor where i delete the pointer

— Assign pointer to null