?? public.h
字號:
/*========================================================================
文件: public.h
說明:公用函數
時間:2004-06
編寫:oshj || oshj@21cn.com
環境:VC6.0/Win2000 Pro/SP4/1024*768
特別說明:
=========================================================================*/
#ifndef _INC_PUBLIC
#define _INC_PUBLIC
#include <windows.h>
#include <stdio.h>
//-------------------------------------------------------------------------
//提示MessageBox
void MsgInf(char* str);
//錯誤MessageBox
void MsgErr(char* str);
//詢問MessageBox
BOOL MsgYN(char* str);
//Ansi Unicode轉換
LPCWSTR AnsiToUnicode(LPCSTR strAnsi);
//Unicode Ansi轉換
LPCSTR UnicodeToAnsi(LPCWSTR strUnicode);
//判斷是否字符
BOOL IsAlpha(const char* source);
//判斷是否數字
BOOL IsDigital(const char* source);
//判斷是否浮點型
BOOL IsFloat(const char* source);
//判斷是否寬字節數字型
BOOL IsWDigital(const wchar_t* source);
//判斷是否寬字節浮點型
BOOL IsWFloat(const wchar_t* source);
//-------------------------------------------------------------------------
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -