microsoftxiao

记忆 流逝

导航

2006年9月30日 #

[转]VC++中数据类型转换

摘要: [转] VC++中有关数据类型转换 关键词: 类型转换 这些是直接把别人的总结拿过来的,不要介意呀 本人并未对所有方法都做测试,仅仅是为了给大家一个参考。 读者层次:初学int i = 100;long l = 2001;float f=300.2;double d=12345.119;char username... 阅读全文

posted @ 2006-09-30 21:40 龙巢NET刀 阅读(1004) 评论(0) 推荐(0)

还是WinGUI Win32 WinMain中嵌如控制台

摘要: #include #include //-------------//函数名: StdPipe//目的: 在WinMain中嵌入窗口//-------------int StdConsole(){ AllocConsole(); hIn = GetStdHandle(STD_INPUT_HANDLE); hOut = GetStdHandle(STD_OUTPUT_HANDLE); h... 阅读全文

posted @ 2006-09-30 09:21 龙巢NET刀 阅读(547) 评论(0) 推荐(0)

还是在WinMain中嵌入Console

摘要: // UnInCmd.cpp : 定义应用程序的入口点。// #include "stdafx.h"#include "UnInCmd.h" #include #include #include #include using namespace std; #define MAX_LOADSTRING 100 // 全局变量:HINSTANCE hInst; // 当前实例TCHAR ... 阅读全文

posted @ 2006-09-30 09:02 龙巢NET刀 阅读(503) 评论(0) 推荐(0)

GUI中嵌入Console

摘要: GUI Win32 WiMain 窗口中半嵌入Console 阅读全文

posted @ 2006-09-30 08:56 龙巢NET刀 阅读(536) 评论(0) 推荐(0)