mag frontier -o cpp cpp In function int main cpp error too few argumen

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
[mag@frontier:~]% g++ -o a a.cpp
a.cpp: In function ‘int main()’:
a.cpp:1: error: too few arguments to function ‘int a(int)’
a.cpp:3: error: at this point in file
[mag@frontier:~]1% cat a.cpp
int a(int b);
int main() { a(); }
int a(int b = 1) { }