don't dream your life, live your dreams !
#include <string> class __declspec(dllexport) Convert { public: static std::string shortToString(unsigned short elt); static std::string wordToString(WORD elt); }; |
std::string Convert::shortToString(unsigned short elt) { std::stringstream ss; ss << elt; return ss.str(); } std::string Convert::wordToString(WORD elt) { std::stringstream ss; ss << elt; return ss.str(); } |
Copyright © 2024 My linux world - by Marc RABAHI
Design by Marc RABAHI and encelades.
admin