
Nehe's GL Print routine
Just a quick question, I notice the routine takes two arguments, a pointer to a constant string, and ... - what I''d like to know is what does the ... represent? and how does the compiler see it? does it automatically concatenate the string and ... or what exactly? - MSDN returned an error when I tried to search for ... hence the reason I ask
cheers
p.

its the additional parameters.. you can call the func with as much parameters as you want. how to handle them? depends on you..
nehe uses the standart string formating style, meaning the same as printf
printf("%f",float_value); prints out a floatvalue
"take a look around" - limp bizkit
www.google.com
nehe uses the standart string formating style, meaning the same as printf
printf("%f",float_value); prints out a floatvalue
"take a look around" - limp bizkit
www.google.com
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
Yeah, I understand that, but *how* is ... represented? I mean, if I wanted to pass the arguments that ... contains, how would I do it? char *string = ... isn''t going to work methinks.
Thanks
P.
Thanks
P.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement