Thanks for your reply.
Your answer has given me pause for thought. After a few experiments I see use of the
forward slash is not always as I thought on windows.
XP will accept the forward-slash in a DOS box, but will display the result using a back-slash's only.
Win2k & Win98 just report a syntax error.
Also a new "Win32 GUI Application" project under Code-blocks v1.0RC2 and 20.03 with mingw32 also work with forward-slash's under XP at least. (This really surprised me)
I still don't know why the (Code-blocks v1.0RC2 project) won't accept forward-slash's, but I will find out why
now that I "know" that forward-slash's "can work".
As my professional coding career ended while I was still working with MSVC6 & 2K around 2003,
I was convinced that forward-slash's could not be used on a windows system and I now feel like a stroke victim trying to work around a forward-slash blind spot.
When I find the answer to the (Code-blocks v1.0RC2 project) problem, I'll report back here.
possibly it's a compiler switch like use the c99 standard.
Tim