使用Qt中的文件 [英] Working with files in Qt

查看:81
本文介绍了使用Qt中的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我在Qt写一个程序。

我有一个文本文件,我想编辑它的特定行,例如用另一个字符串替换它或删除它。但我不知道怎么做。请指导我!

Hi!
I am writing a program in Qt.
I have a text file and I want to edit a specific line of it for example replace it with another string or remove it. but I don't know how to do it . guide me please !

推荐答案

您需要访问Qt论坛页面以获得有关此产品的具体建议 https://qt-project.org/forums [ ^ ]

同一网站上有更多信息...... https:// qt-project。 org / [ ^ ]

或者google之类的c ++ tutorial
You need to go to the Qt Forum page to get specific advice on this product https://qt-project.org/forums[^]
There is more information at the same site ... https://qt-project.org/[^]
Alternatively google for something like "c++ tutorial"


这篇关于使用Qt中的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆