char ch = 'a'; short ii = 65; Console.WriteLine("char to ascii:{0}",(short)ch); Console.WriteLine("ascii to char:{0}",(char)ii);
http://www.codebf.com/read/114690/15042001
#include "stdafx.h" #include #include "atlstr.h" int _tmain(int argc, _TCHAR* argv[]) { char a[10] = "Hello "; char b[10]; strcpy(b, a); // 或者下面方法 char c[10]; for(int
http://www.codebf.com/read/108575/15584098
char是C语言标准数据类型,字符型,至于由几个字节组成通常由编译器决定,一般一个字节.Windows为了消除各种 编译器的差别,重新定义了一些数据类型,另外几个类型都是这样.CHARo为单字节字符.还有个WCHAR为Unicode字符, 即不论中英文,每个字有两个字节组成.如果当前编译方式为ANSI(默认)方式,TCHAR等价于CHAR,如果为Unicode ...
http://www.codebf.com/read/108575/15584100
CString类功能强大,比STL的string类有过之无不及.新手使用CString时,都会被它强大的功能所吸引.然而由于对它内部机制的不了解,新手在将CString向C的字符数组转换时容易出现很多问题.因为CString已经重载了LPCTSTR运算符,所以CString类向constchar *转换时没有什么麻烦,如下所示: char a[100]; CString str("aaaaaa ...
http://www.codebf.com/read/108575/15584103
C51 COMPILER V8.05a CHAR 01/01/2003 00:16:17 PAGE 1 C51 COMPILER V8.05a, COMPILATION OF MODULE CHAR OBJECT MODULE PLACED IN c
http://www.codebf.com/read/7938/139796
礦ision3 Build Log Project: D:\My Documents\char 8\char.uv2 Project File Date: 12/05/2008 Output: Build target 'Target 1' compiling char.c...
http://www.codebf.com/read/7938/139797
"char.obj" TO "char.omf" RAMSIZE(256)
http://www.codebf.com/read/7938/139798
### uVision2 Project, (C) Keil Software ### Do not modify ! Target (Target 1), 0x0000 // Tools: 'MCS-51' Group (Source Group 1) File 1,1, 0x0 Options 1,0,0 // Target
http://www.codebf.com/read/7938/139802
礦ision3 Build Log Project: d:\我的文档\桌面\F 盘的东西\点阵屏\十个字显示\char 8\char.uv2 Project File Date: 12/05/2008 Output: Build target 'Target 1' compilin
http://www.codebf.com/read/7938/139808
BL51 BANKED LINKER/LOCATER V6.00 01/01/2003 00:16:17 PAGE 1 BL51 BANKED LINKER/LOCATER V6.00, INVOKED BY: C:\KEIL\C51\BIN\BL51.EXE char.o
http://www.codebf.com/read/7938/139809
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机