大家帮我看下 为什么 输入A或者 0A 只要有A 时 输出结果变0D了?很怪异的作者: 炫夜 时间: 2009-11-4 02:02
fputc :Writes a character to a stream
eg: if you call it like this: fput(66,gp), at first ,it change the integer(66) to a character (c),then write c to the file.
so you will find there is a c in your file.