using namespace std;
Void p1_1 ();
{
cout<" * ";
cout<" * * * ";
cout<" * ";
}
1> -- -- -- -- -- - has started to generate: project: homework, configuration: Debug Win32 -- -- -- -- -- --
1> P1. CPP
1> D: \ documents \ visual studio 2010 \ projects \ \ assignments \ p1 CPP (4) : error C2447: "{" : the lack of function title (whether in the form of a table the old?)
==========: zero success, failure, latest 0, 0 skip==========
CodePudding user response:
Void p1_1 ();Why have a;
CodePudding user response:
Void p1_1 ();This is the manner in which the statement, definition, remove the final semicolon,
CodePudding user response:
Function declaration is a statement, adding;Function definitions need function main body, do not need to end,