Qt入门-文件读写

二进制文件的读写文件能够使用QFile类、QStreamapp 文本文件的读写建议使用QTextStream类,它操做文件更加方便。ui 打开文件时,须要参数指定打开文件的模式:spa Constant Value Description QIODevice::NotOpen 0x0000 The device is not open. QIODevice::ReadOnly 0x0001 Th
相关文章
相关标签/搜索