Main.cc: In function 'int main()': Main.cc:7:12: error: invalid conversion from 'int*' to 'int' [-fpermissive] f=f+a; ^