Thank you for your help. I looked at the method with Freestore, but it
looks pretty tough.
The Boost::MultiArray looks quite comfortable.
I tried to use it, but when I include boost/multi_array.hpp the error
log shows this:
Compiler: Default compiler
Building Makefile: "....\src\Makefile.win"
Executing make clean
rm -f main.o QuickCG.o ../bin/plasmagen.exe
g++.exe -c main.cpp -o main.o
-I"./include" -fexpensive-optimizations -O2 -march=i686
In file included from .../Dev-Cpp/include/c++/3.4.2/fstream:840,
.../Dev-Cpp/include/c++/3.4.2/bits/fstream.tcc: In member function
`virtual typename std::basic_filebuf<_CharT, _Traits>::int_type
.../fstream.tcc:277: error: expected unqualified-id before '(' token
.../fstream.tcc: In member function `virtual std::streamsize
std::basic_filebuf<_CharT, _Traits>::xsputn(const _CharT*,
.../fstream.tcc:586: error: expected unqualified-id before '(' token
make.exe: *** [main.o] Error 1
I dont have any idea what this means, but when i click on the error log
it marks these two lines from fstream.tcc:
__ilen = std::min(__avail, __buflen);
const streamsize __limit = std::min(__chunk, __bufavail);
How can an #include <fstream> cause so much trouble?