Toggle navigation
MYNDBOOK
Popular
My Library
Signup for free!
Login
Stanford CS 107
About C
C
The C programming language
Sucks because:
no syntactic niceties: overloading, default arguments, const, ref params
no fancy ADTs (strings, vector, map, etc)
thin standard libraries
little help with memory management
But this allows low level control/efficiency, lightweight
Reproduce Bugs
Logic: Run peter_frags and preamble_frags (just one line messed up - the beginning one)
Looks
Memory error: Valgrind is reporting lots of memory leaks
Usage
Robustness to file format
Logic
Only occurs when there is an overlap containing a break or a period at the end (so non character)
AND it is the final
string has OVERLAP + bad character
-Overlap entirely contained in other string
-bad character is at the end of the string
Robustness to file format
Odd number of #'s effs it up
To ask Office Hours
Weird warning "Abnormal termination" when opening emacs logicBugExample3
Note
Description
Login
to remove ads
X
Feedback
|
How-To