hey can any1 tel me how to replace the text in a file which is located at any place......?
and can can i edit any .ini file....below is my code....
Qt Code:
file.reset(); QString str; while (!file.atEnd()) { str = fl.readLine(); if (str == ";extension=abc_123.dll") { fl<<"extension=abc_123.dll"<<str<<"\n"; } //else //{ //fl<<str<<"\n"; //} str = file.readLine(); }To copy to clipboard, switch view to plain text mode
Bookmarks