渣渣isyou
渣渣isyou
关注数: 40
粉丝数: 22
发帖数: 467
关注贴吧数: 44
特变电工天池能源校招 2024校招,师弟师妹们看看啊
特变电工2024校招 特变电工天池能源[图片]
隔壁吧主说我们是辽宁工大,不是辽工大
观战的玩家音效也太阴间了吧,怎么关?
初学c语言,有带哥会c语言或者mfc吗?
初学者求问error C2065: 'MessageBOX' : undeclared identifier
初学者求问error C2065: 'MessageBOX' : undeclared identifier CString str;//定义MFC的字符串对象 GetDlgItem(IDC_EDIT1)->GetWindowText(str);//读取编辑框内容 GetDlgItem(IDC_EDIT2)->GetWindowText(str); GetDlgItem(IDC_EDIT3)->GetWindowText(str); GetDlgItem(IDC_EDIT4)->GetWindowText(str); GetDlgItem(IDC_EDIT5)->GetWindowText(str); GetDlgItem(IDC_EDIT6)->GetWindowText(str); GetDlgItem(IDC_EDIT7)->GetWindowText(str); GetDlgItem(IDC_EDIT8)->GetWindowText(str); double P=atof(str) ;//字符串内容转换成浮点数 double Z=atof(str) ; double Y=atof(str) ; double V=atof(str) ; double p=atof(str) ; double z=atof(str) ; double y=atof(str) ; double v=atof(str) ; double h=((P+Z*Y+V*V*Y/19.6)-(p+z*y+v*v*y/19.6)) ;//浮点数计算 str.Format("%d",(int)h);//浮点数转换为字符串 GetDlgItem(IDC_EDIT9)->GetWindowText(str);//设置编辑框内容 MessageBOX(str);//显示消息框
1
下一页