标题:VC++6.0中出现error2977
取消只看楼主
加油胡椒粉
Rank: 1
等 级:新手上路
帖 子:11
专家分:0
注 册:2018-12-13
结帖率:100%
已结贴  问题点数:20 回复次数:0 
VC++6.0中出现error2977
#include<iostream.h>
#include<string.h>
#include"Vector.h"
struct riverSides{
int churchL;
int wildL;
int churchR;
int wildR;
int boat;
};
…………(因为用手机传的,函数没有传完)
int main()
{    int churchL = 3, wildL = 3, churchR = 0, wildR = 0;   
   Vector<riverSides> lasta;   
Vector<char> operation;
int bb=0;   
riverSides c;   
c.churchL= 3;
c.wildL= 3;
c.churchR= 0;   
c.wildR= 0;   
c.boat= 1;
lasta.Push_back(c);
CvsWdfs<riverSides,    Vector<riverSides>,    Vector<char> ,int>(c,lasta,operation,bb);    lasta.Pop_back();    system("pause");   
return 0;}
显示错误的是这一行error2977(我也百度过,好像需要改预处理器的预处理定义,不过我不会)
    CvsWdfs<riverSides,    Vector<riverSides>,    Vector<char> ,int>(c,lasta,operation,bb);
搜索更多相关主题的帖子: operation VC++6.0 char Vector int 
2019-12-12 19:04



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-498357-1-1.html




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

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