Advertisement

printing numbers

Started by March 10, 2017 06:36 AM
9 comments, last by phil67rpg 7 years, 11 months ago

well I am trying to get the scoring in my game working I want to use glutBitMapString() it says the command is not recognized I just to print numbers like 25

Did you include glut headers and linked its library?

glutBitMapString()

It's 'glutBitmapString', not `glutBitMapString'

Advertisement

When you have questions like this about programming errors, it really helps if you

  • paste the actual, full text of the error (don't summarize, just copy and paste)
  • paste the relevant offending code
Another blind guess since there's no posted error or code: You need to convert the number to a string first?

… I want to use glutBitMapString() it says the command is not recognized…


Don’t run it in the command prompt ???

SRTUoRD.png
paste the actual, full text of the error (don't summarize, just copy and paste)

I'm a little confused as to why at the end there you say not to copy and paste.

Advertisement
I'm a little confused as to why at the end there you say not to copy and paste.

I dunno what you're talking about. <_<

paste the actual, full text of the error (don't summarize, just copy and paste)

I'm a little confused as to why at the end there you say not to copy and paste.


Are you saying that should be a semicolon?

For those not noticing, originally the post said "don't copy and paste". You can see that it now says he edited the post, and there should be a button that says "History(1)" you can click to see the old version.

Sometimes jokes don't work that well in online forums.

The show-edit-history feature isn't available for me anymore. :(

This topic is closed to new replies.

Advertisement