i have a bunch of files to open as 1,2,3......1000
i can open a file as:
ifstream indata;
indata.open("1");
but i dont want to open all of them manually,
is there any way to open like -
for(int i=1;i<1000;i++)
indata.open(i);
plz tell me asap...thanks...