how these functions work??

i have this function in my program, but i have problem to understand some of its content, this is a code:

void RabinIDA::split(TCHAR* fileIn)
{

TCHAR tNumber[100];
TCHAR tBuffer[1<<8];
OutputStream **os=new OutputStream*[n];
InputStream *is=new InputStream(fileIn,1<<20);
for(int i=0;i<n;i++)
{
toString(i,5,tNumber);
_stprintf_s(tBuffer,1<<8,_T("%s.split%s"),fileIn,tNumber);
os[i]=new OutputStream(tBuffer,1<<20);
}
split(is,os,GetFileSize(fileIn));
delete is;
for(int i=0;i<n;i++)
delete os[i];
delete [] os;

}



plz someone explain to me what is the work of (toString, _stprintf_s , TCHAR tNumber[100] , TCHAR tBuffer[1<<8] ) ??
how about taking a look at the definition of these?
or if you cant figure it out, at least post the definition here

by looking at the names and the parameters of these functions i would say:
- the 1st one is returning a substring of a char-array
- the 2nd one is writting a char buffer to a file
Topic archived. No new replies allowed.