上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 68 下一页
摘要: error LNK2019: 无法解析的外部符号 __imp___CrtDbgReportWerror LNK2005 and error LNK2019 error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenc 阅读全文
posted @ 2016-10-10 15:51 特洛伊-Micro 阅读(1352) 评论(0) 推荐(1)
摘要: 标签: stringwstringwchar_tcharc++2013-12-19 00:29 3721人阅读 评论(0) 收藏 举报本文章已收录于: C++知识库 分类: C/C++(50) 1. char*->string (1)直接转换 const char* nodename;string 阅读全文
posted @ 2016-10-10 14:11 特洛伊-Micro 阅读(12344) 评论(0) 推荐(0)
摘要: XP HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\1406 Vista+ HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settin 阅读全文
posted @ 2016-10-09 15:47 特洛伊-Micro 阅读(3343) 评论(0) 推荐(0)
摘要: 脚本的调试向来是一个艰巨的任务,在powershell出现以前简直是一场灾难。在powershell中微软终于做出了诸多改进,不但有了$Error、-whatif,也有了ISE.而在语法上也增加了try-catch-finally,终于可以便利的进行调试和错误处理了。在该语法中,finally并不是 阅读全文
posted @ 2016-10-09 12:14 特洛伊-Micro 阅读(8984) 评论(0) 推荐(0)
摘要: Powershell将信息存储在对象中,每个对象都会有一个具体的类型,简单的文本会以System.String类型存储,日期会以System.DateTime类型存储。任何.NET对象都可以通过GetType()方法返回它的类型,该类型中有一个FullName属性,可以查看类型的完整名称。 每一个类 阅读全文
posted @ 2016-10-09 12:13 特洛伊-Micro 阅读(432) 评论(0) 推荐(0)
摘要: http://techibee.com/powershell/check-if-a-string-is-null-or-empty-using-powershell/1889 Check if a string is NULL or EMPTY using PowerShellby TECHIBEE 阅读全文
posted @ 2016-10-09 12:11 特洛伊-Micro 阅读(725) 评论(0) 推荐(0)
摘要: There are several ways: Write-Host: Write directly to the console, not included in function/cmdlet output. Allows foreground and background colour to 阅读全文
posted @ 2016-10-09 12:11 特洛伊-Micro 阅读(2023) 评论(0) 推荐(0)
摘要: 你们知道 “break”, “continue”, “return” 和 “exit”的作用吗? 它们是功能强大的语言结构体。下面通过一个测试函数来说明它们之间的不同。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 阅读全文
posted @ 2016-10-09 12:11 特洛伊-Micro 阅读(259) 评论(0) 推荐(0)
摘要: Windows 系统版本判断 博客分类: C/C++ Windows 系统版本判断 C/C++ 很多情况下,需要软件判断操作系统,其实网上写的都很少,我希望这篇文章能给大家帮助 首先我们要在.h中定义下面的东西 Cpp代码 #define PRODUCT_UNDEFINED 0x00000000 # 阅读全文
posted @ 2016-10-08 18:01 特洛伊-Micro 阅读(562) 评论(0) 推荐(0)
摘要: std::cout << "ASCII and ANSI" << std::endl;std::wcout << L"INSERT MULTIBYTE WCHAR* HERE" << std::endl; 阅读全文
posted @ 2016-10-08 15:04 特洛伊-Micro 阅读(587) 评论(0) 推荐(0)
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 68 下一页