Skip to main content
GameDev.net gamedev.net
🔒 Locked

Quik question???

Started by Icemage Nov 2, 2000 at 9:57 PM 0 replies 650+ views
Original Post
Icemage
Icemage
I am making this project just for the heck of it. I can''t figure out how to print out text on the screen. What do i use to get a window to print out "Hello" or anything???
Felisandria is Hot, So is Jewelaye
Quantum
Quantum
i think we need a bit more information that that.. but this might help:

for console apps, use the function:
printf(const char *format, ...);

and for win32 apps:

TextOut(HDC, int x, int y, char *, int length);

e.g.
printf("Hello World!");

TextOut(hDC, 300, 300, "Hello World!", strlen("Hello World!"));

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.