随笔分类 - C++
the note of cpp
Format函数用法和CStatic控件的基本使用
摘要:Format函数:返回按指定方式格式化一个数组常量的字符形式。"%" [索引 ":"] ["-"] [宽度] ["." 摘要] 类型Format('x=%d', [12]); //'x=12' //最普通Format('x==', [12]); //'x= 12' //指定宽度Format('x=%f', [12.0]); //'x=12.00' //浮点数Format('x=%.3f', [12.0])
阅读全文
c++的一个程序源码记录
摘要:看了个c++程序。很简单的程序却搞的我头很大// LUCKYDlg.cpp : 实现文件//#include "stdafx.h"#include "LUCKY.h"#include "LUCKYDlg.h"#include "Mmsystem.h"#pragma comment( lib, "Winmm.lib" )#ifdef _DEBUG#define new DEBUG_NEW#endifint beijing=1;int beijing_num=23;int num=45;CStrin
阅读全文
浙公网安备 33010602011771号