Message from C, C++ discussions
November 2019
— 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++"
— 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)
— 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?
— 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
— 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
— Your question seems unclear to me