27

'Yay!! My program runs and is giving expected output.'

** Professor gives large input file **

Segmentation fault (core dumped)

'FML'

(My story in every algorithms lab)

Comments
  • 5
    Good professor.
  • 3
    And that is how programmers get disappointed with their work
  • 0
    This is why programmers get depressed, we never get to be proud
  • 1
    Memory leaks... memory leaks everywhere!...
  • 1
    malloc(1024);
    ...
    fgets(file, memory);
    maybe something like this?
Add Comment