Get the contents of a text file.
int LoadTextFile( string & strText, LPCSTR lpcszFile, uint iNumLines = 0, uint iFirstLine = 0, uint iSkipLines = 0 )
Returns zero for success or non-zero to indicate error.
EX1
int LoadTextFile_ex1() { string strText; int iError = LoadTextFile(strText, "C:\\Origin80\\Origin.ini"); return 0; }
origin.h