64,643
社区成员
发帖
与我相关
我的任务
分享
#include "stdafx.h"
int add(int a, int b)
{
return a + b;
}
int subs(int a, int b)
{
return a - b;
}
#include <afx.h>
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
PSTR szCmdLine, int iCmdShow)
{
CString str;
str.Format("5+3=%d", add(5, 3));
//MessageBox(NULL, &str, NULL, 0);
return 0 ;
}