This is part of my code:
for in_file in $1/*.in # list of all .in files in working directory.
$c_file < $in_file > "$tempFile.out"
if diff "$tempFile.out" $out_file >/dev/null 2>&1 ;
on 11/27/2012 – Made popular on 11/27/2012
I run F12. Since some days my laptop has become very sluggish. In Mozilla, switching between the tabs takes like seconds instead of fraction of a second. Also minimizing and mximizing windows takes long. Switching between the windows too takes long. Now I can't see the cursor while typing this post.
In the following program though most of the working part of the program is commented out, it gives seg fault. reducing the value of MAX to say 10000 removes the seg fault. Why is this happening? it should be only 1 MB only. Is 1 MB too big for an array?