After displaying the text from First Text file, it wont display the text from Second Text file, instead, it display first text file again.
Here is the code
char* cFilePath[2]
{
"Chapter2.txt",
"myFile2.txt"
};
agk:
penToRead(41, cFilePath[m_iSetFileNo]);
for (int i = 0; i < 30; i++)
{
m_sReadTextLine[i] = agk::ReadLine(41);
agk::CreateText(i, m_sReadTextLine[i].c_str());
agk::SetTextSize(i, 50);
SetTextPosition();
}
The m_iSetFileNo is being added after it display finish the text in First Text file.
How should I display the text from second Text file?
I am who I am