Do you know how to convert uint32_t to string?
Thank you very much,
Type: Posts; User: ooosawaddee3
Do you know how to convert uint32_t to string?
Thank you very much,
If I want to create forder "3" like this c:\3\
How to write program to do that?
I use this below code but it is very slow. My database data is sort number, so I think there may be the other ways to search quicker. If you know how to do that , please tell me.
<code>
// My...
If I have 400,000 sorted number in database like this
023F460B70F41323DBD1D2B49C
02C433C23F22D4498AFDCB9802
02E2C880757F813D0A0C067439
037502424D9A07383A1E6B73B1
.....
.....
.....
.....
I write these below program to draw a rectangle which have black frame. In the rectangle have 4 red points and I draw the line between 2 point. So I get the result as this picture...
I have a button on dialog box and I want to write program to open window and show word "Hi" when I click that button. So I write these below function
void...
If I have a button on dialog box and I want to write program to open picture window when I click it. Do you know which function used to open that window?
If I have these coordinates
(51,74),(98,59),(74,36)
I want to display window. In this window have a rectangle which size is 256x256 and have a black frame. I want to show red point at...
Thank you for your answer master5001
I think I get the wrong answer.
Because "CAST" should result in 8 letters. (2 per ASCII character).
I think Format does not work ok this way.
...
I have this below CString data (
CString m_str;
m_str += "CAST";
I need to change m_str to hex CString data. So I use this below function
If I have this below unsigned char* data
'xxxxxxxx' (assume x is Ascii Character)
How to change from unsigned char* to CString and how to change back from CString to unsigned char*.
Do you...
I define this below data in .c file
CString m_data;
when I compile there are these error message
If I have these below data (base 256)
data[0] = 154; // 9A in base 16
data[1] = 203; // CB in base 16
data[2] = 15; // 0F in base 16
data[3] = 54; // 38in base 16
data[4] = 248; // F8...
CString m_n, m_e, n_str, e_str;
int n_strlen, e_strlen;
UINT k_keyID;
m_Proc.GetInfo(FileName, n_str, e_str, n_strlen, e_strlen, k_keyID);
m_n = n_str;
...
If I have this below CString data and I want to change it format to int.
Example:
CString data_str = "1487";
int data_int;
I want
data_int = 1487
Thank you for your answer Fordy. m_Proc is just only object.
Now I can do that by using
CStringArray info;
info.Copy(m_Proc.Getinfo(m_arrFileName, m_arrPassword);
I write this below function to return CStringArray.
CStringArray info;
info = m_Proc.Getinfo(m_arrFileName, m_arrPassword);
I want to use CStringEx object.But I do not know how to load whole file to CStringEx object. If you know how to do that please tell me. Thank you.
I want to show message box which display message duplicate or not duplicate.
I want to chek duplicate line in text file
Example:
If in "1.txt" has this data inside
50B82D3F9D3
2C051C76C7D
5804EBB2BB8
559AAC90CEE
DA64B9F10CC
I want to insert "{" to the top of exist text file and insert "}" to the bottom of text file
Example:
If in "1.txt" has this data in it.
1234afd
daf845
dfdfa
Now I can write data from program to text file by using WriteString() and SeekToEnd().
So I want to write program to copy all data within first text file to second text file by using CStdioFile ...
I declare this CArray in Header file
CArray<int, int> m_arrHashFileListBoxWidth;
When I compile, there are error message show
error C2143: syntax error : missing ';' before '<'
error...
I declare this below data.
CArray<unsigned char, unsigned char> m_data1, m_data2, m_data3, m_data4;
I want to to sort m_data1, m_data2, m_data3, m_data4.
If you know how to do that,...
I have text file "1.txt" and there are these below hex number in text file
"3688D9CC844E3F755"
If I want to add another hex number like "12B5B46CA713" at new line. How to write code to do...