Using C++, I need to detect whether given path (file name) is absolute or relative. I can use Windows API, but don\'t want to use third-party libraries like Boost, since I need
The Windows API has PathIsRelative. It is defined as:
BOOL PathIsRelative( _In_ LPCTSTR lpszPath );