As the title, is there a function in GNU C library?
As the title, is there a function in GNU C library?
It begins with a dot.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I am not entirely sure, but I believe that a simple check for a leading '/' or a drive label like 'C:' would suffice, depending on platform, of course.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)