what does the printf function do? it looks something like this...
printf("kdjfkldjd");
and you can put anything in the quotes, but then i don't know where it shows up. where is the text supposed to show up? can someone help me out?
bballmitch
0
Newbie Poster
Recommended Answers
Jump to Postprintf sends output to stdout, which is the same destination as cout by default.
Jump to Post>so in an OpenGL window, where will the text show up?
Nowhere, because stdout isn't attached to your window.>then how do i make text show up in an OpenGL window?
http://sjbaker.org/steve/omniv/opengl_text.html
All 7 Replies
Narue
5,707
Bad Cop
Team Colleague
bballmitch
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
bballmitch
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
bballmitch
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.