| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 738 人关注过本帖
标题:Cannot open include file: 'InfoStream.h': No such file or directory
只看楼主 加入收藏
小冰宝
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2016-10-27
结帖率:0
收藏
已结贴  问题点数:1 回复次数:1 
Cannot open include file: 'InfoStream.h': No such file or directory
请帮我看看怎么改,谢谢

程序代码:
#include "InfoStream.h"
#include "charm++.h"
#include "BroadcastMgr.h"
#include "BroadcastClient.h"
#define MIN_DEBUG_LEVEL 3
//define DEBUGM
#include "Debug.h"
BroadcastClient::BroadcastClient(int id) {
    this->id=id;
    BroadcastMgr::Object()->subscribe(*this);
    waitForTag=-1;
    suspended=0;
}
BroadcastClient::~BroadcastClient::() {
    BroadcastMgr::Object()->subscribe(*this);
}

void
BroadcastClient::awaken(int theid,int tag) {
    DebugM(1,"awaken() client id="<<id<<"tag="<<tag<<"\n")
        if (suspended && theid == this->id && tag == waitForTag) {
            CthAwaken(thread);
            suspended = 0; waitForTag = -1;
        }
}
void 
BroadcastClient::suspendFor(int tag) {
   DebugM(1,"suspending() client id ="<<id<<"tag="<<tag<<"\n");
   suspended = 1;
    waitForTag=tag;
    thread = CthSelf();
    CthSuspend();
}

出现
Cannot open include file: 'InfoStream.h': No such file or directory

这种错误
搜索更多相关主题的帖子: include file 
2016-10-27 21:03
StadyC
Rank: 6Rank: 6
等 级:侠之大者
威 望:6
帖 子:182
专家分:430
注 册:2016-10-13
收藏
得分:1 
#include "......"这种写法的,麻烦确保这个头文件与.c或者.cpp文件在同一目录下
2016-11-01 17:20
快速回复:Cannot open include file: 'InfoStream.h': No such file or directo ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.741471 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved