Re: [Anjuta-list] Help with simple problem... VisualC++ to gcc c++



anjuta. Now, I have a problem with the #include <lvp\string.h> reference, and even if I change it to

#include <string.h> or
#include <string>

the code fails to compile.

Replace the lvp include with:
  #include <string>

And replace:
  String Name = "LVPress";

with:
  std::string Name = "LVPress";

Works with your example, but might not for more complex usage.

Darren





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]