摘要: 1. int num1,num2,num3;char ch1[10],ch2[10],ch3[10];GetDlgItem(IDC_EDIT1)->GetWindowText(ch1,10);GetDlgItem(IDC_EDIT2)->GetWindowText(ch2,10);num1=atoi(ch1);num2=atoi(ch2);num3=num1+num2;itoa(num3,ch3,10);GetDlgItem(IDC_EDIT3)->SetWindowText(ch3);2.int num1,num2,num3;char ch1[10],ch2[10],ch3 阅读全文
posted @ 2013-04-24 14:08 要八戒更需悟空 阅读(1216) 评论(0) 推荐(0) 编辑