Search:

Type: Posts; User: ooosawaddee3

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    107,081

    How to convert uint32_t to string?

    Do you know how to convert uint32_t to string?

    Thank you very much,
  2. Replies
    3
    Views
    4,944

    How to write programt to create folder?

    If I want to create forder "3" like this c:\3\
    How to write program to do that?
  3. Replies
    5
    Views
    1,687

    I use this below code but it is very slow. My...

    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...
  4. Replies
    5
    Views
    1,687

    How to find data in database ?

    If I have 400,000 sorted number in database like this

    023F460B70F41323DBD1D2B49C
    02C433C23F22D4498AFDCB9802
    02E2C880757F813D0A0C067439
    037502424D9A07383A1E6B73B1
    .....
    .....
    .....
    .....
  5. Replies
    2
    Views
    2,236

    Ask about SetPixel, Lineto and Moveto

    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...
  6. Click button on dialog box to open window.

    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...
  7. How to write program to open picture window?

    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?
  8. Ask about drawing red point in display 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...
  9. Thank you for your answer master5001 I...

    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.
    ...
  10. How to change CString data to CString data(in Hex format)? (And change back)

    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
  11. How to change data format between unsigned char and CString?

    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...
  12. Replies
    2
    Views
    1,824

    Using CStirng in .c file

    I define this below data in .c file



    CString m_data;


    when I compile there are these error message
  13. How to change number data from base 256 to base 16?

    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...
  14. Ask about function parameters and pass a reference.

    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;
    ...
  15. Replies
    5
    Views
    8,957

    Change data format from CString to int

    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
  16. Thank you for your answer Fordy. m_Proc is just...

    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);
  17. How to define operator = in CStringArray?

    I write this below function to return CStringArray.




    CStringArray info;
    info = m_Proc.Getinfo(m_arrFileName, m_arrPassword);
  18. How to load whole file to a CStringEx object ?

    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.
  19. I want to show message box which display message...

    I want to show message box which display message duplicate or not duplicate.
  20. How to check duplicate line in text file?

    I want to chek duplicate line in text file

    Example:

    If in "1.txt" has this data inside
    50B82D3F9D3
    2C051C76C7D
    5804EBB2BB8
    559AAC90CEE
    DA64B9F10CC
  21. How to insert data to the top of exist text file?

    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
  22. How to copy data within first text file to second text file (use CStdioFile)

    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 ...
  23. Replies
    1
    Views
    2,276

    Problem when declare CArray?

    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...
  24. Replies
    2
    Views
    2,169

    How to sort CArray?

    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,...
  25. Replies
    2
    Views
    1,789

    How to write data in exist text file?

    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...
Results 1 to 25 of 69
Page 1 of 3 1 2 3