Im trying to segment a file. In doing so I need to open/createnew smaller files.
The code I have
[ initial.open("c:/test.jpg", ios::in|ios::binary); // input
output.open("c:/copy.jpg", ios::out|ios::binary); // output]
only creates one file output. I would like to have a for loop which creates n file eg text1, text 2, text3 ... textn but i have no idea.
CAn somebody help