-   Programming (
-   -   file creation with specified length (

linuxsavar 03-01-2009 02:32 PM

file creation with specified length
hi all
for creating a file with specified length i need a c or c++ function( i use gcc ofcourse )
time of file creation should be independent from file length(file don`t filled with null or zero etc for increasing it`s length)

wje_lq 03-01-2009 03:00 PM

There is no standard C or C++ function for this. Writing your own function should be a minimally interesting experience.

paulsm4 03-01-2009 04:37 PM

In other words - this sounds like a homework assignment ;-)

All times are GMT -5. The time now is 02:11 PM.