template <class T>
void savetext(T *a, char const *b) //writes to text file inside .sln however the text file is corrupt
{
ofstream fout(b, ios::out);
for (int i = 0; a[i] != '\0'; i++)
文件(SETTINGS.TXT)的端部不讀新行的文件內容進行解析: FULLSCREEN=On
V_SYNC=On [no "\n" at the end of file]
萬一沒有ENTER「\ n」個輸出是: MapKey= FULLSCREEN MapValue= On
MapKey= V_SYNC MapValue= Onřřřř
隨着ENTER「\ n」的文件輸出的到底是正