如何打印输入的ASCII码的字符? [英] How print the character of an entered ASCII code?
问题描述
大家好。我是VC ++的新手
Hi every body. I am sort of new to VC++
当我通过尝试将例子从普通C ++转换为VC ++来学习VC ++时
while I'm learning the VC++ by trying to convert examples from normal C++ into VC++
以下程序是工作但给出错误的答案"始终打印x字符而不是相应的字符相当于其在ASCII码中的值
the following program is working but given wrong answer "always printing x character instead of the corresponding character equivalent to its value in ASCII code
#include" iostream"
#include< stdio.h>
#include< stdlib.h>
#include< conio.h>
#include "iostream"
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
推荐答案
各个团体。我是VC ++的新手
Hi every body. I am sort of new to VC++
当我通过尝试将普通C ++中的示例转换为VC ++来学习VC ++时
while I'm learning the VC++ by trying to convert examples from normal C++ into VC++
以下程序正在运行,但给出了错误的答案"始终打印x字符而不是相应的字符相当于ASCII码中的值
the following program is working but given wrong answer "always printing x character instead of the corresponding character equivalent to its value in ASCII code
#include" iostream"
#include< stdio.h>
#include< stdlib.h>
#include< conio.h>
#include "iostream"
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
这篇关于如何打印输入的ASCII码的字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!