红色部分显示为错误,错误提示 declaration syntax error ;我找不到原因求大神解
#include "stdio.h"print-star(){
int i;
for (i=1;i<=16;i++)
printf("* ");
printf("\n");
}
print-message (char s[]) {
printf("\t\t");
printf("^%s\n",s);
}
main()
{
print-star();
print-message ("Program is beginning ....");
printf-star();
print-message ("functiong example");
print-star();
}