I'm working on a input file conversion from a FORTRAN-based program to a C++-based program. There are multiple sections of the input file that look like:
1009 9 -0.91 801 -802 811 -34 824 -1005 $5
or
2 s -76.175 -60.85 -122.325 2.3372
etc.
and I need to sort the data based on sections which I plan to do through different classes such the Volume one you see below. I'm not quite to the actual sorting part of the code yet but I am trying to read these lines in a strings and then pass them to the class they need for their sorting.
Right now in an effort to find the source of the error I've removed the StringToInt/StringToDouble conversion I'll use later to sort them.
Here's the error I can't find the source of:
Undefined symbols:
"Volume::ProduceVectorForSorting(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >)", referenced from:
_main in ccolwjig.o
"Volume::Volume()", referenced from:
_main in ccolwjig.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
when I try to compile my program. Here is the program thus far: