4 Replies - 336 Views - Last Post: 25 July 2010 - 10:07 AM Rate Topic: -----

#1 Rekan  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 82
  • Joined: 19-August 09

where to put .bmp file so the program is able to use them

Posted 25 July 2010 - 09:26 AM

Hi guys where do i place the .bmp so the program can access it?
I am programming in SDL c++.
I put it in the folder where all the source code are but it doesnt work at all :(

Thanks for your help ^^

Is This A Good Question/Topic? 0
  • +

Replies To: where to put .bmp file so the program is able to use them

#2 sarmanu  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 965
  • View blog
  • Posts: 2,362
  • Joined: 04-December 09

Re: where to put .bmp file so the program is able to use them

Posted 25 July 2010 - 09:34 AM

Put the .bmp in the folder of your .exe file. Otherwise, try to explicitly write the full path of your .bmp, and see if that works. If it doesn't, it may be other problem. Call SDL_GetError() to see it.
Was This Post Helpful? 0
  • +
  • -

#3 Rekan  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 82
  • Joined: 19-August 09

Re: where to put .bmp file so the program is able to use them

Posted 25 July 2010 - 09:47 AM

hmm... srry for bothering you
you were right :D it's a source code problem -.-'

Thanks for your help ^^ :)
Was This Post Helpful? 0
  • +
  • -

#4 Rekan  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 82
  • Joined: 19-August 09

Re: where to put .bmp file so the program is able to use them

Posted 25 July 2010 - 09:54 AM

is there a difference between SDL_QUIT() and SDL_QUIT ?
Was This Post Helpful? 0
  • +
  • -

#5 Oler1s  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1395
  • View blog
  • Posts: 3,884
  • Joined: 04-June 09

Re: where to put .bmp file so the program is able to use them

Posted 25 July 2010 - 10:07 AM

SDL_Quit (notice the capitalization) is the identifier for a function.

SDL_QUIT is an integral value, which you can use as part of SDL event handling.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1