码迷,mamicode.com
首页 >  
搜索关键字:tchar    ( 2435个结果
C/C++ 获取代码执行的行数以及文件名
#include #include using namespace std;void _tmain(int argc, TCHAR *argv[]){ int line = __LINE__; string filename = __FILE__; cout<<"the line is:"<<lin...
分类:编程语言   时间:2014-07-29 21:04:12    阅读次数:210
使用windows API函数调用浏览器组件
#include #include #include #include #pragma comment(lib,"atl")#pragma comment(lib,"User32.lib")CComModule _Module;const TCHAR *URL[9] = { _T("http:...
分类:Windows程序   时间:2014-07-25 16:48:31    阅读次数:1022
LeetCode_61uniquePaths [Unique Paths]
#pragma warning(disable:4996) #include <cstdio> #include <Windows.h> #include <tchar.h> /* submit time : 3 1. Time Limit Exceeded 23, 12 request : A robot is located at the top-left corn...
分类:其他好文   时间:2014-07-25 11:40:41    阅读次数:315
LeetCode_60rotateRight [Rotate List]
#pragma warning(disable:4996) #include <cstdio> #include <Windows.h> #include <tchar.h> /* submit time : 4 can not remember request : Given a list, rotate the list to the right by k places,...
分类:其他好文   时间:2014-07-25 00:04:04    阅读次数:197
LeetCode_56insert [Insert Interval]
#pragma warning(disable:4996) #include <Windows.h> #include <tchar.h> #include <cstdio> #include <vector> using namespace std; /* submit time : 1 request : Given a set of non-overlapping inte...
分类:其他好文   时间:2014-07-24 12:32:05    阅读次数:238
LeetCode_53spiralOrder [Spiral Matrix]
#pragma warning(disable:4996) #include <cstdio> #include <Windows.h> #include <tchar.h> #include <vector> using namespace std; /* submit time : 2 1. Runtime Error [] request : Given a ma...
分类:其他好文   时间:2014-07-23 21:34:35    阅读次数:274
获取GetOpenFileName多选文件名
1 void CWriteWnd::OpenFileDialog() 2 { 3 OPENFILENAME ofn; 4 TCHAR szOpenFileNames[80*MAX_PATH] = _T(""); 5 TCHAR szPath[MAX_PATH];...
分类:其他好文   时间:2014-07-23 20:47:25    阅读次数:206
LeetCode_51totalNQueens [N-Queens II]
#pragma warning(disable:4996) #include <Windows.h> #include <tchar.h> #include <cstdio> /* submit time : 1 request : Follow up for N-Queens problem. Now, instead outputting board configura...
分类:其他好文   时间:2014-07-23 18:13:56    阅读次数:284
LeetCode_49pow [Pow(x, n)]
#pragma warning(disable:4996) #include <cstdio> #include <tchar.h> #include <Windows.h> /* submit time : 3 1.Runtime Error 34.00515, -3 2.Runtime Error 1.00000, -2147483648 request : ...
分类:其他好文   时间:2014-07-23 17:39:11    阅读次数:268
LeetCode_47rotate [Rotate Image]
#pragma warning(disable:4996) #include <Windows.h> #include <tchar.h> #include <cstdio> #include <vector> using namespace std; /* submit time : 1 // But I don‘t know how to deal with "Follow u...
分类:其他好文   时间:2014-07-23 13:55:36    阅读次数:280
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!