Originally Posted by
Elysia
I never said Windows didn't support them.
No, but you sort of implied it with all of those "nope"s.
It does, but translates them to "\" instead.
How do you know? I would think someone, somewhere, just used
Code:
if(c == '\\' || c == '/') {
/* ... */
}
And I really, really hate "/". It looks disgusting IMHO. So I always use "\".
I'm just the opposite, but that's because I use Linux all of the time. I guess you never use Linux, or you'd know what a pain it is to convert slashes . . . .
Windows API supports "/", but not anything else, so don't go using "/" with system().
Well, and the standard C and C++ libraries.