.: CARBO :.

 
 

CArbo


This is an Object Class to parse files and folders win32 architecture, the public definition of the class is here :


int CreateArbo(char *folder, int type = ARBO_LIST);
int FreeArbo();
int PrintArbo();

char m_strRoot[ARBO_BUFFSIZE];
int m_NoFiles;
t_filestruct *m_ptrStart;
t_filestruct *m_ptrCurrent;


CreateArbo parse the hierarchy and create a tree into memory, you will be able to read it from m_ptrStart, you can create it as a tree or a list by defining the type

FreeArbo release the memory allocated for the tree

PrintArbo is used to print the tree into a terminal window, mostly used for debugging


m_strRoot is set to the root directory that you want to create a tree with

m_NoFiles give you the number of files there is in the tree

m_ptrStart is the begining of the tree

m_ptrCurrent is a pointer in the tree to help you reading it

 
 

webmaster : sebseb@securesphere.net

.: HOME :.

 - Home

 - Old News

 

.: PROGRAMS :.

 - Graphic (10)

 - Network (7)

 - Games (2)

 - System (13)

 - Crypto (3)

 - Misc (3)

 - Game Programming Section

 - SCM Section

 

.: TUTORIALS :.

 - No tutorials yet

 

.: MISC :.


CrocoLib

CrocoSkinner
 

.: AUTHOR :.

 - My Curriculum-Vitae
 

.: LINKS :.

 - OpenGL

 - GameDev

 - SecureSphere

 - Warcraft3 FuckerFou

 - CaraibesSunshine

 - Ambria