自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

『小猪呼噜噜』的专栏 -- I Write,therefore I am.

白毛浮绿水,红掌拨清波。 ----任何表面的,外在的,看似肤浅的事物都有推动它前进的潜在的动力! 行看江南春草绿,不愁空谷少回音。

  • 博客(8)
  • 收藏
  • 关注

原创 VC++ 更改标题字体以及居中显示标题

在百度知道上看到有人问了这个问题(http://zhidao.baidu.com/question/109083585.html?fr=id_push&fs=up),于是乎小试牛刀:)  在头文件中放下面的函数:   afx_msg void OnNcPaint(); afx_msg BOOL OnNcActivate(BOOL bActive);

2009-07-30 16:00:00 3247 1

原创 打碎你的屏幕

建一个简单的Windows32 Application,然后将代码copy过去 #define DIVI 16#define DMEM (DIVI*DIVI)#include #includetypedef struct{ double x,y,mx,my,dx,dy; HBITMAP hbitmap;}piece;int WINAP

2009-07-29 12:33:00 778

原创 控制台程序自动全屏

#include #include using namespace std;//Function Declarationvoid FullScreen();int main(){ FullScreen(); cout << "Yay! We Are Now Full Screen!!"<< endl; cout << "Press An

2009-07-29 12:17:00 924

原创 控制台程序在指定位置中输出文本

#include #include #include using namespace std;void clrscr (); // clear the screenvoid gotoxy(int x, int y); // move to specific position in consolevoid scroll (char *s, int x); //

2009-07-29 12:12:00 2331

原创 怎样使用GetAsyncKeyState()

可能代码太长了,不能放在一起,只好拆分成两部分了 #include #include using namespace std; /* Colors defined for SetColor(int) */enum { BLACK = 0, DARK_BLUE = 1, DARK_GREEN = 2, TEAL = 3,

2009-07-29 10:31:00 8573 2

转载 在24位真彩色位图中插入文件并隐藏文件

程序中限制了文件大小,大小是 (data_size = bih.biHeight*bih.biWidth*3) / 4 ; ///////////////////////////////////////////////// File Inside Bitmap (inserttobitmap.exe)// Melts a file into a bitmap file//

2009-07-29 10:12:00 995

转载 Windows下更改C/C++控制台程序文本输出颜色

保存下面的代码放到一个头文件concol.h中 concol.h#include using namespace std;#include #define RED 0x0004#define GREEN 0x0002#define BLUE 0x0001#define WHITE

2009-07-29 09:38:00 1918 1

原创 gdb 查看 STL 容器值

gdb 查看 vector, list, map, set , queue, stack, bitset, string, wstring等 把下面代码保存到 ~/.gdbinit 里(或者保存到某个文件中, 比如 /xxx/yyyy/gdbViewSTL,然后在~/.gdbinit中添加 source  /xxx/yyyy/gdbViewSTL),然后运行gdb #

2009-07-24 11:04:00 1723

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除