f = fopen(log.lgFilePathLog.c_str(), "at+");
sprintf(temp3, "[%02d-%02d-%04d %02d:%02d:%02d-%03d] %s%c", st.wDay,st.wMonth,st.wYear, st.wHour, st.wMinute, st.wSecond, st.wMilliseconds, stringLog, 10);
fwrite(&temp3, strlen(temp3), 1, f);
fclose(f);//