Other Parts Discussed in Thread: HALCOGEN
Tool/software: TI C/C++ Compiler
Hi all,
I'm struggling using C++ and STL. I'm new using SLT on embeddedplatforms.
My first try is just using string. I compiled a small main.cpp:
#include <string>
void app_main(void) {
std::string line;
line = ">Hallo\n";
line += " Welt, wie geht's?!\n";
};
Everything compiles well, but "lin" contains no meaningful data after the first assignment and the program crushes executing "+=".
I traced it down to some Location in the STL lib ... but I think I'm missing something?!
Can anyone help?
Bet regards
Henrik.