有什么错 error C2448: '' : function-style initializer appears to be a function definition#include#includevoid main(){ double a,b,c,p; double s; couta>>b>>c; void squrd(a,b,c) { p=(a+b+c)/2; double l=p*(p-a)*(p-b)*(p-c); cout
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/26 09:49:54
有什么错 error C2448: '' : function-style initializer appears to be a function definition#include#includevoid main(){ double a,b,c,p; double s; couta>>b>>c; void squrd(a,b,c) { p=(a+b+c)/2; double l=p*(p-a)*(p-b)*(p-c); cout
有什么错 error C2448: '' : function-style initializer appears to be a function definition
#include
#include
void main()
{
double a,b,c,p;
double s;
couta>>b>>c;
void squrd(a,b,c)
{
p=(a+b+c)/2;
double l=p*(p-a)*(p-b)*(p-c);
cout
有什么错 error C2448: '' : function-style initializer appears to be a function definition#include#includevoid main(){ double a,b,c,p; double s; couta>>b>>c; void squrd(a,b,c) { p=(a+b+c)/2; double l=p*(p-a)*(p-b)*(p-c); cout
#include
#include
void main()
{
double a,b,c,p;
double s;
couta>>b>>c;
squrd(a,b,c);
}
void squrd(double a,double b,double c)
{
p=(a+b+c)/2;
double l=p*(p-a)*(p-b)*(p-c);
cout