Yes, this is a really lazy question but I figure this is problem that people have often enough that someone here would have something already written to share.
I have a ton of C files with #include
statements using Windows relative paths. I'm working on compiling the code on other operating systems (immediately, on my OS X development machine) and need to replace all the backslashes with forward slashes in these include statements. So, from something like #include "libs\helper.h"
to #include "libs/helper.h"
.