Home > Software engineering >  The three hexadecimal, merged into a string
The three hexadecimal, merged into a string

Time:09-19

X001 0, 0 xabc, 0 x888
As the value of 16 merged into
"001 abc888
"
String,
What's the concise method?

thank you

CodePudding user response:

Cstrings format method can and should be % 3 x, you try

CodePudding user response:

https://www.cnblogs.com/yzl050819/p/6019166.html

CodePudding user response:

UINT x1=0 x001;
UINT xabc x2=0;
UINT x3=0 x888;
CString str;
STR. The Format (" % 3 x 3 x % % 3 x ", x1, x2, x3);//"001 abc888
"

CodePudding user response:

String formatting ~ ~ ~

CodePudding user response:

Can also not merged into ULONGLONG data before it is formatted
% I64X





  • Related