上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 68 下一页
摘要: Kill Process by Name(works in: Microsoft Windows 95/98/ME/NT/2000/XP)It is sometimes necessary to terminate a running process in MS-Windows. The Win32 阅读全文
posted @ 2016-10-08 10:10 特洛伊-Micro 阅读(662) 评论(0) 推荐(0)
摘要: 在将各种类型的数据构造成字符串时,sprintf 的强大功能很少会让你失望。由于sprintf 跟printf 在用法上几乎一样,只是打印的目的地不同而已,前者打印到字符串中,后者则直接在命令行上输出。这也导致sprintf 比printf 有用得多。 sprintf 是个变参函数,定义如下:int 阅读全文
posted @ 2016-10-08 10:08 特洛伊-Micro 阅读(236) 评论(0) 推荐(0)
摘要: string 是c++标准库里面其中一个,封装了对字符串的操作 把string转换为char* 有3中方法: 1。data 如: string str="abc"; char *p=str.data(); 2.c_str 如:string str="gdfd"; char *p=str.c_str( 阅读全文
posted @ 2016-10-08 09:51 特洛伊-Micro 阅读(1896) 评论(0) 推荐(0)
摘要: C++调用DLL有两种方法——静态调用和动态调用 C++调用DLL有两种方法——静态调用和动态调用 标签: dllc++winapinullc 2011-09-09 09:49 11609人阅读 评论(0) 收藏 举报 标签: dllc++winapinullc 2011-09-09 09:49 1 阅读全文
posted @ 2016-10-08 09:33 特洛伊-Micro 阅读(3044) 评论(0) 推荐(0)
摘要: 进入命令提示符以后,输入命令:【net user administrator /active:yes】然后注销,就可以使用administrator登录。. 如果想要取消administrator激活,则输入【net user administrator /active:no】 阅读全文
posted @ 2016-10-08 09:10 特洛伊-Micro 阅读(234) 评论(0) 推荐(0)
摘要: ChangeServiceConfig2 function Changes the optional configuration parameters of a service. Syntax C++ BOOL WINAPI ChangeServiceConfig2( _In_ SC_HANDLE 阅读全文
posted @ 2016-09-30 17:31 特洛伊-Micro 阅读(671) 评论(0) 推荐(0)
摘要: Changing a Service's Configuration A service configuration program uses the ChangeServiceConfig and ChangeServiceConfig2 functions to change the confi 阅读全文
posted @ 2016-09-30 17:30 特洛伊-Micro 阅读(403) 评论(0) 推荐(0)
摘要: C++析构函数为什么要为虚函数 注:本文内容来源于zhice163博文,感谢作者的整理。 1.为什么基类的析构函数是虚函数? 在实现多态时,当用基类操作派生类,在析构时防止只析构基类而不析构派生类的状况发生。 下面转自网络:源地址 http://blog.sina.com.cn/s/blog_7c7 阅读全文
posted @ 2016-09-30 12:22 特洛伊-Micro 阅读(265) 评论(0) 推荐(0)
摘要: A basic Windows service in C++ (CppWindowsService) This code sample demonstrates creating a basic Windows Service application in VC++ 下载 C++ (776.9 KB 阅读全文
posted @ 2016-09-29 17:52 特洛伊-Micro 阅读(4671) 评论(0) 推荐(0)
摘要: 1 /// 2 /// json转换为键值对辅助类 3 /// 4 public class JsonParser 5 { 6 7 private static Dictionary lst_KeyValueData = null; 8 9 public static Dictionary SplitJsonStringToKeyVal... 阅读全文
posted @ 2016-09-28 15:10 特洛伊-Micro 阅读(2742) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 68 下一页