嗨,我已经用 Visual c++ 编写了一个程序,无论出于何种原因,现在我需要在 turbo c++ 3.0 中运行/编译这个相同的程序。
我已经设法从某个来源获得了编译器,但是当我尝试编译我的代码时出现了很多错误。我已经注释掉了“#include stdafx.h”,为 ide 中的目录和库设置了适当的路径。这些是给我错误的行
#include <list> //Error unable to open include file list
using namespace std; //Declaration syntax error
typedef list<int> itemist; // , expected
bool setPlayerChar(char key); // Type name expected // Declaration missing ;
void generateItemList(piece market[9], itemlist &ilist) // ) expected
bool exit = false; // Undefined symbol 'bool' // statement missing ;