天啊,快崩溃了C++ fatal error C1075 请各位帮忙啊!在下感激不尽

来源:百度知道 编辑:UC知道 时间:2024/06/03 14:56:39
源代码是这样的
/**************************main.cpp***************************/
#include<iostream>
using namespace std;
#include "SeqList.h"
#include <cmath>
void main()
{
cout<<"Please input several characters:"<<endl;
SeqList<char>mylist(10);
char temp4[30];
try{mylist.setElem(temp4);}
catch (char *ps2){cout<<ps2;}
cout<<endl<<"The first character of the string will be deleted..."<<endl;
char temp;
try
{
char temp=mylist.Delete(1);
}
catch(char *ps3)
{
cout<<ps3;
}

cout<<endl<<"The original first character will be put in the middle of the string."<<endl;
int temp1=ceil((double)mylist.Length()/2);
try{mylist.Insert(temp1,temp);};
catch(char*ps4)
{
cout<<ps4;
}

cout<<"the stri

end of file found before the left brace '{' at 'c:\documents and settings\elec\桌面\新建文件夹\seqlist.h(82)' was matched

意思是在文件c:\documents and settings\elec\桌面\新建文件夹\seqlist.h第82行的"{"之前发现了文件结束符

检查一下文件seqlist.h看有没有特殊的控制字符

你把头文件 seqlist.h 贴出来啊,不然让人怎么看啊,怎么知道哪出的问题。

能指出来地几行吗?