3 ms·
"Also, the struct in C++ is allocated on the heap." I'm probably misunderstanding what the author wanted to say but this is not correct. Structs are by default
by adamnemecek 13y ago
"Also, the struct in C++ is allocated on the heap."
I'm probably misunderstanding what the author wanted to say but this is not correct. Structs are by default allocated on the stack.
- digitalsol 13y agoYou are right, that was a typo. I changed that yesterday. Best Regards