I tried to using std::string in my application ( MQX 3.4.0)
However whenever I include:
I got a lot of compiling error. Could anyone tell me how to solve this problem?
this is C++ standard. It is not applicable for MQX.
If you want to use some C style string functions, try this:
I did use C++ in my code.
I believe MQX can be compiled working with C++ application. ( the Former project I did used C++ ( CodeWarrior 6.3+ ColdFire5329+MQX2.50)).
In MQX, it redefines getwc, io_fgets, FILE etc, when I include <string> to use std::string , that causes compiling error......
other C++ features so far no problem.
Anyone sees similiar problem? I wish in next MQX release, it can provide examples for using C++ with MQX.
Typically we provide technical support for companies who have a support contract, however we do try to help users out in advance of a support contract if they are just starting out or evaluating our services. Please send a note to email@example.com with your contact information, and then we can take a look at it.
Embedded Access Inc.
Retrieving data ...