There have been some clever schemes developed to handle just what you're doing. Several months back, someone posted about this question, and someone mentioned the plan for handling cards in a poker...
Type: Posts; User: Adak
There have been some clever schemes developed to handle just what you're doing. Several months back, someone posted about this question, and someone mentioned the plan for handling cards in a poker...
Since the ASCII values can be printed out in order (although some are dicey to print because they are used to control the monitor or are a non-printing character), I'm not sure why you'd want to sort...
Study your corrected substitution sort:
#include <stdio.h>
int main( void )
{
int num[5];
int i,j;
You are correct - 7 bit encoding. The "ascii" chars above 127 are a generic term for character sets that generally follow the same values as ascii. Arrow keys are multi-key values, for example.
You can print up your own ascii table, sure. And your character set may be slightly different from the ones in the standard ascii table - especially above 127. You'll notice that the character set...
You should Google for ascii table, and download either a table, or a picture of a table, and keep it on your desktop for easy reference. It will have all the values (either basic ascii 0-127, or...