Hi List,

I used the CsvDeserializer like:

snip --------------------------------------------------
typedef std::vector<std::string> StrVec;
typedef StrVec::iterator StrVecIt;
typedef std::vector<StrVec> Str2Vec;
typedef Str2Vec::iterator Str2VecIt;

  Str2Vec data;
  std::ifstream in("test.csv");
  cxxtools::CsvDeserializer deserializer(in);
  deserializer.readTitle(true);
  deserializer.deserialize(data);
snap --------------------------------------------------

The deserializer ignores the first line. For this reason i set readTitle 
to true, but this does not show the expected behaviour.

Any thoughts?

Regards,
Andreas






------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to