Re: Rückgabe von mehrdimensionalem String in C++

Mathias Krause <[email protected]>
Newsgroups gmane.user-groups.linux.dresden
Message-ID <[email protected]>
Hallo Sebastian,

Am 04.05.22 um 22:59 schrieb Sebastian Reinhardt:
> [...] undefined reference to `READCSV::read_config_files(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<csv_values, std::allocator<csv_values> >&)' 

> [...]
> -------------read_csv.cpp-------------
> void read_config_files (const std::string& csv_file_name, vector<csv_values> &elements)

       ^- Hier fehlt ein "READCSV::", wie man dem Quelltext entnehmen
kann (es handelt sich schließlich um eine Klasse):

> [...]
> -------------read_config_files.hpp-------------
> class READCSV
>     {
>         private:
>         public:
>             void read_config_files (const std::string& csv_file_name, vector<csv_values> &elements);
>     };

Viele Grüße,
Mathias
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.