CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - char to hex
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - char to hex - List
[
File Operate
]
ReadFile
DL : 0
打开一个TXT文件并显示在EDIT控件中 步骤: 1.新建一个基于对话框的工程,名称为ReadFile 2.在界面上添加一个按钮(IDC_BUTTON1)和一个文本编辑(IDC_EDIT1) IDC_EDIT1的属性:多行、可下拉滚动条. 3.编辑按钮触发事件(void CReadFileDlg::OnButton1()) void CReadFileDlg::OnButton1() { // TODO: Add your control notification handler code here CString sFileFilter="*.hex|*.hex" CString sFileName CFileDialog fDlg(true,NULL,NULL,OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,sFileFilter,NULL) fDlg.DoModal() sFileName=fDlg.GetFileName() if(sFileName!="") { CFile file(sFileName,CFile::modeRead) int nFileLength=file.GetLength() char *buffer HGLOBAL hgl=::GlobalAlloc(GMEM_MOVEABLE,nFileLength+1) buffer=(char *)::GlobalLock(hgl) file.Read(buffer,nFileLength) SetDlgItemText(IDC_EDIT1,buffer) ::GlobalUnlock(hgl) ::GlobalFree(hgl) } UpdateData(false) } -Open a TXT file and displayed in the EDIT control steps: 1. Create a new dialog-based project, known as the ReadFile2. In the interface to add a button (IDC_BUTTON1) and a text editor (IDC_EDIT1) IDC_EDIT1 properties: multi-line, can be drop-down scroll bar .3. Edit button trigger events (void CReadFileDlg:: OnButton1 ()) void CReadFileDlg:: OnButton1 () (//TODO: Add your control notification handler code here CString sFileFilter =*. hex |*. hex CString sFileName CFileDialog fDlg (true, NULL, NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, sFileFilter, NULL) fDlg.DoModal () sFileName = fDlg.GetFileName () if (sFileName! =) (CFile file (sFileName, CFile:: modeRead) int nFileLength = file.GetLength () char* buffer HGLOBAL hgl =:: GlobalAlloc (GMEM_MOVEABLE, nFileLength+ 1) buffer = (char*):: GlobalLock (hgl) file.Read (buffer, nFileLength) SetDlgItemText (IDC_EDIT1, buffer):: GlobalUnlock (hgl):: GlobalFree (hgl)) UpdateData (false))
Date
: 2025-07-07
Size
: 1.8mb
User
:
这程子
[
Data structs
]
16hex_to_char
DL : 0
十六进制数转成字符输出,用vc++编写啊-Hexadecimal number into a character output, with vc++ Prepared ah
Date
: 2025-07-07
Size
: 357kb
User
:
damxie
[
Windows Develop
]
changetohex
DL : 0
介绍如何把char buffer 里的数据转换为16进制格式的 字符数组数据 转换 为 HEX 格式-Describes how the char buffer the data is converted to 16 characters in hexadecimal format array data into a HEX format
Date
: 2025-07-07
Size
: 1kb
User
:
士大夫
[
Other
]
U2A
DL : 1
自己写的一个函数,作用:将十六进制的char字符串转换成宽字符中文,然后自己再uincode转ascii就可以转成中文输出了。-Writing a function of their role: to be the char hex string into a wide English characters, then their re-ascii on uincode turn can be transformed to the output of the English.
Date
: 2025-07-07
Size
: 6kb
User
:
[
Other
]
Tool
DL : 0
一些转换代码,hex to char,char to hex-Some of the conversion code, hex to char, char to hex
Date
: 2025-07-07
Size
: 1kb
User
:
陈先生
[
Other
]
converttools
DL : 0
字符转化为16进制 字 符转化为16进制 字符转化为16进制-convert tools char to hex convert tools convert tools convert tools
Date
: 2025-07-07
Size
: 3kb
User
:
brianlee
[
Other Embeded program
]
CNV
DL : 0
conversions like hex to decimal or string to char
Date
: 2025-07-07
Size
: 1kb
User
:
pp
[
Crack Hack
]
unimodem.dll-adapted-for-windows-ce-3.0-systems.r
DL : 0
BSTR2, Bubble Sort2, Character to integer, CString s into char s. I am posting , Letter count with linked list, MasterString - over 3,000 lines of hardcore string manipluation (classes, structs, functions ) etc, string functions using both user defined & stdlib, Writing to a file, A Simple Count String.cpp, ACCI 2 Decimal,Hex,octal.cpp, ACCURATE and MODERN conversion .cpp, Ascii to Unicode and vice-versa.cpp, Converts a numeric string to integer .cpp, Finds and replaces a string with a given string.cpp, GotoXY.cpp, how variables can exist in different scopes.cpp, input and revers string.cpp, revers string 2.cpp, Searches if a textfile contains a string .cpp, simplest logic and most simplest password program .cpp, strcat,strcmp,strcpy(VB).cpp, string compare.cpp, string manip tutorial.cpp, StriStr--This function is an ANSI version of strstr() with case insensitivity.cpp, strrtrim.cpp, UPPER.C, VB string function.cpp
Date
: 2025-07-07
Size
: 21kb
User
:
Ahmad
[
Other
]
1024bit-P-p
DL : 0
随机生成3个1024bit大整数,实现大整数的加法、减法和取模运算,并计算运行100K的平均时间(16进制char类型实现)-1024bit randomly generated three large integer, to achieve large integer addition, subtraction, and modulo operations, and calculate the average running time of 100K (16 hex char type to achieve)
Date
: 2025-07-07
Size
: 2kb
User
:
小陈
[
Windows Develop
]
CHAR-TO-HEX
DL : 0
字符串转十六进制小程序,方便开发人员使用。-String to hexadecimal sixteen small procedures, facilitate the development of staff to use.
Date
: 2025-07-07
Size
: 1kb
User
:
赵晓春
[
Finance-Stock software system
]
CharToHex
DL : 0
char format to Hex in 0x30 format for data to be encryped
Date
: 2025-07-07
Size
: 2.27mb
User
:
peter
[
Other
]
Hex2Char_20120316_1
DL : 0
十六进制数字转为char输出的学习例子。-Demo how to change Hex type number to char string.
Date
: 2025-07-07
Size
: 372kb
User
:
林兰极
[
Linux-Unix
]
hex2hex
DL : 0
hex2hex reads stdin in Intel HEX format and produces an (unsigned char) array which contains the bytes and writes it to stdout using C syntax.
Date
: 2025-07-07
Size
: 2kb
User
:
mtpotl
[
LabView
]
char-string-to-HEX
DL : 0
基于Labview的字符串至16进制转换程序, 经测试可用。-char string to HEX program Based on labview
Date
: 2025-07-07
Size
: 27kb
User
:
wu yue
[
Other
]
char-string-to-HEX
DL : 0
将字符串转变为16进制数,可以直接工程应用(Converting a string to a 16 hexadecimal number can be used directly for engineering applications)
Date
: 2025-07-07
Size
: 26kb
User
:
llbbestlj
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.