Hi
I want to know...
can we able to create array of files and how ?????????

you can try it by yourself. :)

You could certainly have an array of file HANDLES or the like...

FILE* myFiles[10];

for (int i = 0; i < 10; i++)
    myFiles[i] = fopen("Chainsaw.txt","r");

is that what you mean?

Hello,

An array of files makes no sense. Arrays are data structures; files are residents of a file system on a hard drive (or RAMdrive).

What are you really trying to do?

Christian

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.