Skip to content

Instantly share code, notes, and snippets.

@dhilipsiva
dhilipsiva / PrintWithoutPrintf.C
Created May 16, 2012 04:15
C program printing without using "printf". NO libraries. just c and memory ;)
//Created by DhilipSiva
//Free to modify and use
main()
{
char far *videoMemory = 0xB8000000;
char *helloString = "Hello World";
int stringLength = 11; //length of "Hello World" is 11
int count;
for(count = 0; count < stringLength; count++)