All pastes #508192 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-05-24 22:07 UTC
rendered paste body
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{

    	char string[1024];
    	int length;
    	printf("ASCII converter by the one and only xje. \nASCII Input: ");
    	gets(string);
    	printf("\n");
    	printf("\n");
      
        	printf("HexOut: ");
        	for(length = 0; length < strlen(string); length++)
            	{
            		printf("%x ", string[length]);
            	}
            	printf("\n");

                	printf("\n");
                	printf("\n");
                	system("pause");

                	
}