Anonymous user
Printing To Screen: Difference between revisions
m
→Printing Strings: Aesthetics
[unchecked revision] | [unchecked revision] |
m (→Printing Strings: Aesthetics) |
|||
Line 27:
If you have a pointer to video memory and want to write a string, here is how you might do it;
<source lang="c">
// note this example will always write to the top
// line of the screen
Line 39:
}
}
</
This simply cycles through each character in the string, and copies it to the appropriate place in video memory.
==Printing Integers==
|