enum LOG_CLASS{CLASS_ERROR,CLASS_WARNING,CLASS_INFO,CLASS_LOG,DEFAULT};. int color(int class){. if(class==CLASS_WARNING) SetConsoleTextAttribute(hConsole ...
確定! 回上一頁