I have noticed these things:
1. Using mkdir() function we cannot create a folder whose name's length is greater than 8.
2. Also, we cannot create a folder inside a directory whose name's length is greater than 8.
3. using ofstream/ifstream we cannot create/write a file whose name's length is greater than 8.
what to do when we want the above mentioned lengths to be greater than 8??
this one's not true, unless you're working in a weird OS.
I am working in Borland/Turbo C++..
... Or weird compiler. Turbo C++ was made for DOS. Dos had limit of 8 character names. Turbo C++ has same limitation as DOS. Do not use Turbo C++ unless your OS is DOS.
Actually do not use it at all, as it does not respect C++ standard and "Turbo C++" has little relation to real world C++
@MiiniPaa . Thanks I got the reason for that 8 charcaters limitation... If only my School taught me in some better compiler..... I will practice in Dev C++ compiler or whatever is the compiler used this day once I pass my high school.