Results 1 to 5 of 5

Thread: Test Claude-Code: ReadTextContent

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,844

    Test Claude-Code: ReadTextContent

    I want to test AI programming, but Claude-Code blocks Chinese users. I would be very grateful if you could implement a function ReadTextContent using Claude-Code. The problem is as follows:

    Code:
    Please complete a function in VB6 to read file content from a file, with the function declaration as follows:
    
    Public Function ReadTextContent(FileName As String, Optional ByVal IsRaw16Bit As Boolean = False, Optional ByVal CodePage As MSCodePages) As String
    
    End Function
    
    Note: the constants of MSCodePages are defined as follows:
    
    Enum MSCodePages
        CP_ACP             = 0          ' Default ANSI code page.
        CP_UTF8            = 65001      ' UTF8.
        CP_UTF16_LE         = 1200       ' UTF16 - little endian.
        CP_UTF16_BE        = 1201       ' UTF16 - big endian.
        CP_UTF32_LE        = 12000      ' UTF32 - little endian.
        CP_UTF32_BE        = 12001      ' UTF32 - big endian.
        CP_UNKNOWN = -1
    End  Enum
    If Claude-Code can complete the above function, please post the result. I'll compare the performance of the code generated by Claude-Code with the performance of RC6.ReadTextContent. Thanks!

    Note:
    Please do not modify the code generated by Claude-Code. I want to know how accurate the code generated by Claude-Code is.
    Last edited by SearchingDataOnly; May 14th, 2026 at 07:19 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width