Sjmarf@sh.itjust.works to Programming Horror · 1 year agomallocPlusAIsh.itjust.worksCodestin Search AppCodestin Search App31Codestin Search AppCodestin Search AppCodestin Search App262Codestin Search App2
Codestin Search App260Codestin Search AppCodestin Search AppmallocPlusAIsh.itjust.worksSjmarf@sh.itjust.works to Programming Horror · 1 year agoCodestin Search App31Codestin Search AppCodestin Search App
Codestin Search Appzaphod@sopuli.xyzCodestin Search AppCodestin Search AppCodestin Search App2·1 year agoIn c++ you should use new.
Codestin Search Appvrighter@discuss.tchncs.deCodestin Search AppCodestin Search AppCodestin Search App1·1 year agothat is besides the point. You can still call malloc, it will still return void*, and it would still reqoire casting in c++
In c++ you should use
new.that is besides the point. You can still call malloc, it will still return void*, and it would still reqoire casting in c++