[SDL] Hello everyone.

James Lehman james at akrobiz.com
Sat Apr 12 13:19:18 PDT 2008


Thanks.
I guess.

James.   :o)
  ----- Original Message ----- 
  From: Gabriel Gambetta 
  To: A list for developers using the SDL library. (includes SDL-announce) 
  Sent: Saturday, April 12, 2008 3:04 PM
  Subject: Re: [SDL] Hello everyone.


    Once the user chooses a type of file, then LaserBoy shows a list of files of that type that are present on the hard drive. I achieve this in Linux by using a popen() to a shell and I read back what I get from issuing "ls -1 ./directory/*.type". How do I do something like this that will work in every OS?


  With all due respect, your solution is absolutely horrible and it's probably illegal under various international war crime laws. If it isn't, it should. Do this instead : http://www.siit.tu.ac.th/mdailey/class/2003_s2/its225/assignments/readdir.c

  --Gabriel




------------------------------------------------------------------------------


  _______________________________________________
  SDL mailing list
  SDL at lists.libsdl.org
  http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080412/bcbcbace/attachment.htm 


More information about the SDL mailing list