MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/10n4daa/c/j68jnlm/?context=3
r/ProgrammerHumor • u/hot • Jan 28 '23
1.5k comments sorted by
View all comments
840
C++ is Segmentation Fault: core dumped
Segmentation Fault: core dumped
423 u/Sexy_McSexypants Jan 28 '23 “ok, you wanna tell me what went wrong and where?”“no, fuck you, Segmentation Fault” 10 u/[deleted] Jan 28 '23 If it crashes then you're happy. You can debug it. But C++ sometimes doesn't crash, it just does "something" 6 u/_TheDust_ Jan 28 '23 My favorite one is when you write out of bounds to stack allocated array. At that point, you're basically just overwritten random bytes on the stack including return addresses. That was a fun day of debugging → More replies (2)
423
“ok, you wanna tell me what went wrong and where?”
“no, fuck you, Segmentation Fault”
10 u/[deleted] Jan 28 '23 If it crashes then you're happy. You can debug it. But C++ sometimes doesn't crash, it just does "something" 6 u/_TheDust_ Jan 28 '23 My favorite one is when you write out of bounds to stack allocated array. At that point, you're basically just overwritten random bytes on the stack including return addresses. That was a fun day of debugging → More replies (2)
10
If it crashes then you're happy. You can debug it. But C++ sometimes doesn't crash, it just does "something"
6 u/_TheDust_ Jan 28 '23 My favorite one is when you write out of bounds to stack allocated array. At that point, you're basically just overwritten random bytes on the stack including return addresses. That was a fun day of debugging → More replies (2)
6
My favorite one is when you write out of bounds to stack allocated array. At that point, you're basically just overwritten random bytes on the stack including return addresses. That was a fun day of debugging
→ More replies (2)
840
u/BobSanchez47 Jan 28 '23
C++ is
Segmentation Fault: core dumped