I am trying to generate Large size file in C++ on Linux using g++ compiler how can i do it.I have been able to create large file of size 2GB. I want to create aroun 6 to 10 GB file at a time, how can i do it.