Original Post
Hi, I'm just wondering how a function like printf uses the ... part? I've got this function: void LogFile::WriteLine(const char *text,...) { m_pFile = fopen(m_Filename,"a"); // fprintf(m_pFile,text,...); fclose(m_pFile); } ...you get the intention of the commented line.. but how do you do it properly? Thanks.