Skip to main content
not related to SDL
Link
Sebastian Mach
  • 39.3k
  • 8
  • 97
  • 131
deleted 24 characters in body
Source Link
genpfault
  • 52.3k
  • 12
  • 93
  • 153

I want to do something like this (showing what FPS im running at in my SDL game):

SDL_WM_SetCaption("FPS: " + GetTicks(&fps)/1000.f, NULL); 

But Visual Studio intellisens complains that expression must have integral or enum type.

What have i done wrong?

Thanks in advance :D

I want to do something like this (showing what FPS im running at in my SDL game):

SDL_WM_SetCaption("FPS: " + GetTicks(&fps)/1000.f, NULL); 

But Visual Studio intellisens complains that expression must have integral or enum type.

What have i done wrong?

Thanks in advance :D

I want to do something like this (showing what FPS im running at in my SDL game):

SDL_WM_SetCaption("FPS: " + GetTicks(&fps)/1000.f, NULL); 

But Visual Studio intellisens complains that expression must have integral or enum type.

What have i done wrong?

edited tags
Link
Jules
  • 1.4k
  • 8
  • 19
Source Link
Jason94
  • 13.6k
  • 38
  • 114
  • 191
Loading