DON'T need 'DIRECTORY_SEPARATOR'


Results 1 to 1 of 1

Thread: DON'T need 'DIRECTORY_SEPARATOR'

  1. #1
    Join Date
    Oct 2016
    Posts
    3

    DON'T need 'DIRECTORY_SEPARATOR'

    I just learned that, to specify file names in a portable manner, you DON'T need 'DIRECTORY_SEPARATOR' - just use '/'. This really surprised and shocked me, as until now I typed about a zillion times 'DIRECTORY_SEPARATOR' to stay platform independent - unnecessary. Don't make the same mistake.
    Last edited by essay; 01-05-2018 at 03:41 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •