Main.cc: In function 'int main()': Main.cc:6:30: error: 'scnaf' was not declared in this scope scnaf("%d %s %d",&a,&b,&c); ^