Angelo Lee's Blog
This is my kingdom .If i don't fight for it ,who will ?
摘要: // //********************************************************* //Ftp basic operation //********************************************************* // // //1. connect to ftp // BOOL flag; CString cstrFtpServer = TEXT("10.142.252.155"); //ftp server address CString cstrFtpUserName = TEXT... 阅读全文
posted @ 2012-11-27 22:37 Angelo Lee 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 一. VC常用数据类型列表二. 常用数据类型转化2.1数学类型变量与字符串相互转换2.2 CString及string,char *与其他数据类型的转换和操作●CString,string,char*的综合比较●数学类型与CString相互转化●CString与char*相互转换举例●CString 与 BSTR 型转换●VARIANT 型转化成 CString 型2.3 BSTR、_bstr_t与CComBSTR2.4 VARIANT 、_variant_t 与 COleVariant附录CString及字符串转及操作详解参考书籍:CSDN,<<MFC深入浅出(Second Ed 阅读全文
posted @ 2012-11-27 22:26 Angelo Lee 阅读(291) 评论(0) 推荐(0) 编辑
摘要: #include<windows.h> #include<iostream> #include<string> using namespace std; //只能处理目录:lpPath只能是路径 void find(char *lpPath) { char szFind[MAX_PATH]; char szFile[MAX_PATH]; WIN32_FIND_DATA FindFileData; strcpy(szFind,lpPath); strcat(szFind,"\\*.*"); HANDLE hFi... 阅读全文
posted @ 2012-11-27 21:10 Angelo Lee 阅读(304) 评论(0) 推荐(0) 编辑