View Single Post
  #12  
Old 08-15-2002, 06:42 AM
Aspirax
Sarnak
 
Join Date: Aug 2002
Posts: 88
Default

gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc-3.1/configure
Thread model: single
gcc version 3.1
============================
net.cpp: In function `void LoadSPDat()':
net.cpp:358: `nocreate' is not a member of type `std::basic_ios<char,
std::char_traits<char> >'
net.cpp:358: `openprot' is not a member of type `std::basic_filebuf<char,
std::char_traits<char> >'

I had to change:
in.open("spells_en.txt",ios::nocreate,filebuf::ope nprot);
To:
in.open("spells_en.txt",ios::in);
Reply With Quote