[SDL] SDL_image and multiple partitions
Paul Duffy
odubtaig at yahoo.co.uk
Fri Jul 20 06:56:59 PDT 2007
On Fri, 2007-07-20 at 09:27 +0200, Alberto Luaces wrote:
> Maybe escaping the backslashes?
>
> "F:\\Documents\\My Programs\\Projects\\name\\name\\window.png"
Actually, what I found works in Windows /and/ maintains better
XPlatformness is using forward slashes in paths. It may not be the
default but even Windows Explorer supports it (type C:/Program Files/ in
the address bar if you like) and it certainly works in C/C++ and HTML.
This really should be more commonly taught as it save a lot of time and
hassle.
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
More information about the SDL
mailing list