Vitus
Resource contributor
- Messages
- 1,480
- Country

Hi all,
I am confused about the use of strings in C++ gauges. Strings are one of the things I hated about C++ on sight when I started with it! There are so many different ways and each comes with new functions and restrictions. Also, if you try to find information on that topic on the web it is very likely to find code snippets that were written down in the Bronze Age and are outdated by now.
Hence the questions:
- what is the state-of-the-art type for text in gauge projects?
- what functions comes with the method(s)? Means: how do the strings have to be declared, initialized, destroyed? How can a value be assigned to it and what functions are used to convert int-string-int or float-string-float?
All this is way easier in Delphi (my favorite programming language!)....
Regards
Vitus
I am confused about the use of strings in C++ gauges. Strings are one of the things I hated about C++ on sight when I started with it! There are so many different ways and each comes with new functions and restrictions. Also, if you try to find information on that topic on the web it is very likely to find code snippets that were written down in the Bronze Age and are outdated by now.
Hence the questions:
- what is the state-of-the-art type for text in gauge projects?
- what functions comes with the method(s)? Means: how do the strings have to be declared, initialized, destroyed? How can a value be assigned to it and what functions are used to convert int-string-int or float-string-float?
All this is way easier in Delphi (my favorite programming language!)....
Regards
Vitus


