摘要: #include #pragma comment(lib,"wininet.lib")using namespace std;void CrackUrl(){#define MAX_LEN 100 URL_COMPONENTS uc; WCHAR Scheme[MAX_LEN]; WCHAR HostName[MAX_LEN]; WCHAR UserName[MAX_LEN]; WCHAR Password[MAX_LEN]; WCHAR UrlPath[MAX_LEN]; WCHAR ExtraInfo[MAX_LEN]; uc.dwStr... 阅读全文
posted @ 2013-12-11 17:29 Tup 阅读(1070) 评论(0) 推荐(0)
摘要: KEY: UTF-16.至少在我的Windows平台+vs2008使用sizeof(WCHAR)已测试就知道了。引用9楼的回复:由实现定义:ISOC++112.3/3...Theexecutioncharactersetandtheexecutionwide-charactersetareimplementation-definedsupersetsofthebasicexecutioncharactersetandthebasicexecutionwide-ch……没看懂,不过确定的是微软的编译器是UTF-16《windows核心编程》ANSIandUnicodeCharacterandSt 阅读全文
posted @ 2013-12-11 16:32 Tup 阅读(1405) 评论(0) 推荐(0)
摘要: #include #include #ifdef __cplusplusextern "C"#endifFILE _iob[3] = {__iob_func()[0], __iob_func()[1], __iob_func()[2]};GLfloat x = 0.0f;GLfloat y = 0.0f;GLfloat rsize = 25.0f;GLfloat xstep = 1.0f;GLfloat ystep = 1.0f;GLfloat fWinHorRadius = 100.0f;//actual window size or size in the clip v 阅读全文
posted @ 2013-12-11 11:29 Tup 阅读(217) 评论(0) 推荐(0)