วันอาทิตย์ที่ 13 กันยายน พ.ศ. 2558

Lab 4 : Syntax error

1. the local variable "space" may not have been initialized.














cause of problem : forgot to set a value of space
solution : set a value to space   --->   int space=0;



2. Error on "::IdentifierOrNew"
          expecting SEMI, found 'draw_balloon'



















cause of problem : forgot a ; after y=(y+10)%height
solution : put a ; after that



3. Found one too many { characters without a } to match it






















cause of problem : forgot a } after return sum;
solution : put a } after that





ไม่มีความคิดเห็น:

แสดงความคิดเห็น