上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 56 下一页

2018年2月11日

VC++Debug避免F11步进不想要的函数中

摘要: It's often useful to avoid stepping into some common code like constructors or overloaded operators. Many times when you debug the code you probably s 阅读全文

posted @ 2018-02-11 17:49 我来乔23 阅读(240) 评论(0) 推荐(0) 编辑

VC++ Debug显示指针所指的array内容

摘要: If you expand a pointer and you only get a single item, just add ",n" to the entry in the watch window where n is the number of elements to expand. Fo 阅读全文

posted @ 2018-02-11 17:32 我来乔23 阅读(299) 评论(0) 推荐(0) 编辑

VC++ 在Watch窗口显示GetLastError值以及详细信息

摘要: You can display the value GetLastError() will return by putting "@err" in your watch window. You can see the error message associated with that value 阅读全文

posted @ 2018-02-11 17:22 我来乔23 阅读(436) 评论(0) 推荐(0) 编辑

VC++ Debug内存值

摘要: Memory Values If you're using the debug heap, memory is initialized and cleared with special values. Typically MFC automatically adds something like t 阅读全文

posted @ 2018-02-11 17:01 我来乔23 阅读(220) 评论(0) 推荐(0) 编辑

VC++ 给你的代码强制加一个硬断点

摘要: 类似与Javascript的 debugger; Hard code a debugger breakpoint If you need to insert a hard breakpoint in your code (perhaps because you need to attach to a 阅读全文

posted @ 2018-02-11 16:57 我来乔23 阅读(529) 评论(0) 推荐(0) 编辑

2018年2月9日

wchat_t与char互转

摘要: C++ Code 1234567891011121314151617181920212223242526 //窄字符转宽字符 void ConvertA2W(wchar_t* the_strw, char* the_str, int len)//注意:默认the_strw和the_str有足够长度的 阅读全文

posted @ 2018-02-09 11:56 我来乔23 阅读(781) 评论(0) 推荐(0) 编辑

2018年2月7日

使用forever运行nodejs应用

摘要: 何为forever forever可以看做是一个nodejs的守护进程,能够启动,停止,重启我们的app应用。 官方的说明是说: A simple CLI tool for ensuring that a given script runs continuously (i.e. forever). 阅读全文

posted @ 2018-02-07 15:53 我来乔23 阅读(962) 评论(0) 推荐(0) 编辑

2018年1月26日

C++ 检查Windows服务运行状态

摘要: 检查Windows服务运行状态 C++ Code 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 阅读全文

posted @ 2018-01-26 10:41 我来乔23 阅读(3303) 评论(0) 推荐(0) 编辑

2018年1月24日

【转】Android横竖屏重力自适应

摘要: 通常我们的应用只会设计成横屏或者竖屏,锁定横屏或竖屏的方法是在manifest.xml文件中设定属性android:screenOrientation为"landscape"或"portrait": <activity android:name=".MainActivity" android:lab 阅读全文

posted @ 2018-01-24 15:35 我来乔23 阅读(458) 评论(0) 推荐(0) 编辑

2018年1月12日

string与wstring互转

摘要: string与wstring互转 C++ Code 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 阅读全文

posted @ 2018-01-12 10:39 我来乔23 阅读(2130) 评论(0) 推荐(0) 编辑

上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 56 下一页

导航