Hi,
You can use Worksheet::ImportASCII to import ascii file. for example,
void test_ascii_import()
{
ASCIMP ascimp;
string strFile = GetOpenBox("*.txt");
if(AscImpReadFileStruct(strFile,&ascimp)==0)
{
Worksheet wks;
wks.Create();
wks.ImportASCII(strFile, ascimp);
}
}
text can automatically be shown after imported