3 ms·
Back in my student days for DOS-based labs we just did char foo[640*1024]; int main(int argc, char ** argv) { return 0; } When ran, it made the OS say "Ou
by huhtenberg 17y ago
Back in my student days for DOS-based labs we just did
char foo[640*1024];
int main(int argc, char ** argv) { return 0; }
When ran, it made the OS say "Out of memory" and then it was lab assistant's headache to unload all that resident stuff that was sitting there and eating good 20-30% of available RAM. They typically opposed to doing that, so the TAs assumed the program actually worked. The end :)
- mahmud 17y agoI must be the only moron who used to be eager for others to see his programs. No teacher ever looked at it long enough to appreciate it though; I quickly established a reputation as a computer show off and the teachers were dismissive of me, spending more time with kid who actually had problems.
- jhg 17y ago>> I quickly established a reputation as a computer show off Hmm ... :)