2018年7月22日

c语言中输出一个宽字符

摘要: 可以转换成用windows的通用格式 阅读全文

posted @ 2018-07-22 17:35 mengtianwxs 阅读(813) 评论(0) 推荐(0)

第一个简单的windows程序

摘要: #include int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int ICmdShow) { MessageBox(NULL, TEXT("Hello mt"), TEXT("hello wo"), MB_YESNO| MB_ICONINFORMATION); ret... 阅读全文

posted @ 2018-07-22 16:58 mengtianwxs 阅读(132) 评论(0) 推荐(0)

2018年7月21日

while控制语句实现从1到10的求和功能

摘要: 1 #include "stdafx.h" 2 3 #include<iostream> 4 using namespace std; 5 int main() 6 { 7 8 int sum = 0, n = 1; 9 10 while (n <= 10) { 11 sum = sum + n; 阅读全文

posted @ 2018-07-21 15:25 mengtianwxs 阅读(2062) 评论(0) 推荐(0)

导航