I use turboc2 c++ compiler and i need this program that works in this compiler...
I need a c++ program to display the ascii and extended ASCII table (as one table).?
I'm not familiar with the turboc2 c++ compiler, but if I wanted the ASCII table I would do:
#include %26lt;iostream%26gt;
int main()
{
for (int i = 0; i %26lt; 256; i++)
{
std::cout %26lt;%26lt; i %26lt;%26lt; ": " %26lt;%26lt; (char)i %26lt;%26lt; std::endl;
}
return 0;
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment