How to use the ASCII code

Status
Not open for further replies.

Help

Advanced Member level 2
Joined
Feb 15, 2005
Messages
617
Helped
7
Reputation
14
Reaction score
3
Trophy points
1,298
Activity points
7,065
Hi,

Do you know how to use the ASCII, eg. NUL, SOH, STX, ETX, EOT, ENQ, SO, SI, .... and so on (20h-7Eh i will know how to use, it is easy)?

Do you have any webside teach you how to use the code?

Thany you..
 

Re: ASCII

Hi,

The webside just given the table but didn't teach us how to use it.... Is there any webside teach you how to use the code in C?

Thanks...
 

ASCII

Code:
#include <stdio.h>


void main()
{
int ascii_char;
	
ascii_char = 65;

// %c is used to print out the character represented by the ascii code
printf("The ascii code of %c is 65.", ascii_char); 
}
 

    Help

    Points: 2
    Helpful Answer Positive Rating
Re: ASCII

Hi,

How about NUL, SOH, STX, ETX, EOT, ENQ, SO, SI, .... and so on ??

Thanks for your program....
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…