Main.cc: In function ‘int main()’:
Main.cc:8:5: error: ‘prinft’ was not declared in this scope
prinft ( "Nhap so nguyen duong n: ");
^~~~~~
Main.cc:8:5: note: suggested alternative: ‘printf’
prinft ( "Nhap so nguyen duong n: ");
^~~~~~
printf
Main.cc:9:13: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
scanf (n);
^
In file included from Main.cc:1:0:
/usr/include/stdio.h:383:12: note: initializing argument 1 of ‘int scanf(const char*, ...)’
extern int scanf (const char *__restrict __format, ...) __wur;
^~~~~
Main.cc:9:13: warning: format not a string literal and no format arguments [-Wformat-security]
scanf (n);
^
Main.cc:9:11: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf (n);
~~~~~~^~~