Is there a limitation to the length of a file path (in Windows/Linux)?
Under Windows, there''s the MAX_PATH constant which gives you the maximum path length. You find it in windef.h :
#define MAX_PATH 260
Don''t know for Linux...
In Windows, MAX_PATH is defined as 260 characters.
________________________________________________"Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C