[ale] Opensource Enterprise Backups

DJ-Pfulio djpfulio at jdpfu.com
Thu Jan 21 16:36:47 EST 2016


On 01/21/2016 01:46 PM, Jim Kinney wrote:
> files = "C:\\\\users\\*\\My Documents"

I would be very surprised if this didn't work:
   files = "C:/users/My Documents"

Cross-platform C/C++ has worked this way since MacOS dropped ':' as a separator.
BTW, this works in all C/C++ programs for specifying paths (except MVS) to my
knowledge.

Including preprocessor macros:
 #include <sys/header.h>

**Always** use normal slashes inside C/C++ code unless there is a specific
reason not to do so.  User input with the Windoze '\\' can be concatinated just
fine with the better, '/' methods.  Just sayin'.  A programmer would have to GO
OUT OF THEIR WAY to break this.



More information about the Ale mailing list