| | |
Strings: Looking at ASCII Code
Commonly strings consist of ASCII characters, some are printable, some are in the backgrounds like the bell, carriage return, linefeed, tab and so forth. This code displays a table of ASCII characters and the corresponding decimal value. As always, you are encouraged to learn here.
/* display the ASCII character table */ #include <stdio.h> int main() { int k; for ( k = 14; k < 256; k++ ) { printf ( "%3d = %c ",k, k ); } getchar(); /* wait for key */ return 0; }
Similar Threads
- Help Printing Ascii Code (Assembly)
- hex code of a ASCII char (Perl)
- passing in ascii/unicode strings to LoadLibrary (C++)
- Java 2 Ascii Code (JSP)
| Thread Tools | Search this Thread |
#include * adobe ansi array asterisks bash binarysearch centimeter changingto char character cm convert copyimagefile cprogramme creafecopyofanytypeoffileinc database dynamic execv feet fgets file floatingpointvalidation fork function getlogicaldrivestrin givemetehcodez global grade gtkwinlinux hacking histogram ide inches include incrementoperators infiniteloop input interest intmain() iso kernel keyboard kilometer license linked linkedlist linux list locate looping lowest matrix meter microsoft number oddnumber opendocumentformat openwebfoundation owf pattern pdf performance pointer posix power probleminc process program programming radix recursion recv recvblocked research reversing scripting segmentationfault sequential single socket socketprograming socketprogramming standard strchr string suggestions systemcall test threads turboc unix urboc user variable voidmain() wab whythiscodecausesegmentationfault windowsapi



