Is working with files in Linux and Windows?

Hi! Now under Linux I write a program that will work with the file system.
For example, to access the "files" folder, which is where the file server is passed to the function "/files/". On Linux all works fine now, but I'm going to compile under windows, will it work there? There's sort of a command line / == \.
July 2nd 19 at 14:00
2 answers
July 2nd 19 at 14:02
In Windows, the path separator you can use both "\" and "/".
Thank you! - Jaycee.Borer commented on July 2nd 19 at 14:05
it's not the difference.
Windows as easily understood way and with a direct slash. In this respect, no problems.
If you hand in your code, specify the full path, the problem will be in this. - Benjamin_McClure commented on July 2nd 19 at 14:08
July 2nd 19 at 14:04
Windows understands forward and backward slash. BUT. In practice was sometimes a problem, particularly when automating MS Word, worked only with backslash.

Find more questions by tags C++Go