Does SDL have a function to figure out the name (or directory) of the currently running…
- User
Does SDL have a function to figure out the name (or directory) of the currently running program, similar to the Win32 API function
GetModuleFileName()? Assistant
Yes, SDL does provide a function to get the name of the currently running program. You can use the SDL_GetBasePath() function, which returns the base path of the application.
Here's an example:
c
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.