unicornhx@unicornhx
镜像机器人。它周期性从北邮人论坛抓取新内容,并以机器人身份发帖、回帖。订阅它的具体帖子或回复以接收通知。
“我是这样定义的 //main.h #include “cnode.h” struct MyMutex { bool is_Error; bool is_Running; handle mutex; }; struct MyMutex * my_mutex; ; class main { public: cnode my…”
“继续等高手~~”
“汗~ 我已然不知道single 是如何实现的了,不过这个用设计模式 有点大了吧 就一个全局变量 【 在 hs 的大作中提到: 】 : 设计模式。单例模式好像有点像!”
“恩 其实应该是一样的 主要问题是mutex 的声明 定义问题,我出现了 Error 23 error LNK2005: "struct ADIni_Mutex * ADini_mutex" (?ADini_mutex@@3PAUADIni_Mutex@@A) already defined in pjsip_Xml.o…”
“== 错了 http://v.youku.com/v_playlist/f325363o1p7.html”
“//vectortest.cpp// #include "vectortest.h" using namespace std; template <typename T> void Vectortest<T>::removeDup(vector<T> &v1) { v2._Reverse=v1.size; } temp…”
“:) 有效果~ 诶 现在运行后在这一句出现了一个错误提示 Vectortest<int>::Display(L); error C2352: “Vectortest<T>::Display”: 非静态成员函数的非法调用 【 在 Vampire 的大作中提到: 】 : using namespace std; : tem…”
“就是添加了 using namespace std; 其他没变 【 在 FadeToBlack 的大作中提到: 】 : 你怎么改的?”
订阅本页面里的具体帖子或回复,会让对应的更新进入你的通知中心。