大约有 10,000 项符合查询结果(耗时:0.0070秒) [XML]

https://bbs.tsingfun.com/thread-940-1-1.html 

一款IP:端口监控工具 服务器端口监控工具[附源码] - C++ UI - 清泛IT社区...

...可手动刷新。 支持连接异常报警(PC蜂鸣器、自定义wav文件)。 软件载:http://www.tsingfun.com/html/2016/soft_0602/74.html 源码载: 主要代码请参考:《mfc telnet 端口,代码实现、不调用telnet.exe》 表格采用GridCtrl(Demo...
https://bbs.tsingfun.com/thread-566-1-1.html 

ThreadXxx.cc:100: error: ‘::pthread_kill’ has not been declared - c+...

#include <pthread.h> #include <signal.h> 除了pthread.h外,还要引入signal.h头文件才行,解决。
https://bbs.tsingfun.com/thread-774-1-1.html 

c++ boost库 序列化与反序列化 - c++1y / stl - 清泛IT社区,为创新赋能!

...   }         return 0; } //从文件加载结构体数据 template<typename TemplateStruct> int load(TemplateStruct & templateStruct,const std::string &strFileName,const unsigned int version = SERIALIZATION_VERSION) {      &nb...
https://bbs.tsingfun.com/thread-567-1-1.html 

ThreadXxx.h:100: error: ‘pthread_t’ was not declared in this scope -...

pthread_t在头文件/usr/include/bits/pthreadtypes.h中定义:typedef unsigned long int pthread_t;复制代码它是一个线程的标识符。 #include <pthread.h>   解决。
https://bbs.tsingfun.com/thread-781-1-1.html 

SHFileOperation 这个API函数怎么用起来结果飘忽不定? - c++1y / stl - 清...

...失败。 解决: 改用C++的FindNextFile,支持 * 通配符查找文件,核心代码如: WIN32_FIND_DATA FindFileData; char szCurPath[MAX_PATH + 1] = { 0 }; GetCurrentDirectory(MAX_PATH, szCurPath); CString findFileName; findFileName.Format("%stest*.txt", szCurPath); HAND...
https://bbs.tsingfun.com/thread-821-1-1.html 

制作安装包图标 附psd源码 - 脚本技术 - 清泛IT社区,为创新赋能!

效果图如: 附psd源文件(win、mac版),可以将程序图标制作成类似这样的安装包图标。 [hide] [/hide]
https://bbs.tsingfun.com/thread-858-1-1.html 

error LNK2019: 无法解析的外部符号 _Netbios@4,该符号在函数 中被引用 - c...

解决方法如:Cpp文件include语句之后加上如代码:#pragma comment(lib,"netapi32.lib")
https://bbs.tsingfun.com/thread-857-1-1.html 

error LNK2019: 无法解析的外部符号_socket,该符号在函数 中被引用 - c++1...

...最新 0 个,跳过 0 个 ========== 解决方法如:在CPP文件include语句之后加上如代码:#pragma comment(lib,"ws2_32.lib")
https://www.tsingfun.com/it/os... 

Linux非root用户运行程序的一些注意事项 - 操作系统(内核) - 清泛网 - 专注...

...024 以端口的程序。 2、Linux非root程序默认创建出来的文件权限是666,想要修改默认值,使用: #include <sys/stat.h> umask(026); //去掉组写权限及其他用户所权限 End. linux root 端口 umask
https://www.tsingfun.com/it/cp... 

编译错误 error: ISO C++ forbids declaration of ‘xxx’ with no type [-...

...t(int value) {} //加上返回类型解决 可能的情况2:两个头文件相互include,一般可以采用#ifndef或前置声明解决该问题。 可能的情况3: error: ISO C++ forbids declaration of &lsquo;typeof&rsquo; with no type [-fpermissive] typeof关键字是GNU C拓展,...