today is fyp day. stuck at a stupid error since last night till just now. the same file i copied from the original source code to my programme without changing it gave errors. can't find any logic error and any missing head files... think until dunno wat to think liao. then one minute ago i copied the files again and it was working...
conclusion: compiler is crazy...