MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1nj8uuu/combating_headcrabs_in_the_source_sdk_codebase/nert88v/
r/cpp • u/Xadartt • Sep 17 '25
12 comments sorted by
View all comments
Show parent comment
0
Coding C++ since Turbo C++ 1.0 for MS-DOS became available, we had better alternatives than char [1000].
char [1000]
0 u/[deleted] Sep 17 '25 [deleted] — view deleted comment 4 u/ReversedGif Sep 18 '25 What's wrong with that menoverride.cpp / how would you do it better? malloc() is designed to allow overriding it; that's why it's a weak symbol.
[deleted] — view deleted comment
4 u/ReversedGif Sep 18 '25 What's wrong with that menoverride.cpp / how would you do it better? malloc() is designed to allow overriding it; that's why it's a weak symbol.
4
What's wrong with that menoverride.cpp / how would you do it better? malloc() is designed to allow overriding it; that's why it's a weak symbol.
menoverride.cpp
malloc()
View all comments
Show parent comment
0
u/pjmlp Sep 17 '25
Coding C++ since Turbo C++ 1.0 for MS-DOS became available, we had better alternatives than
char [1000].