mcht_z
18th February 2011, 18:51
Hello,
I want to assign a variable from lineedit but cant. For example:
ofstream file("file.txt");
file << ui->LineEdit->text(); //this is not work.
<< ui->LineEdit; // this is write a thing like "00FD7" into the file. I hope its memory address?
thanks for helps
I want to assign a variable from lineedit but cant. For example:
ofstream file("file.txt");
file << ui->LineEdit->text(); //this is not work.
<< ui->LineEdit; // this is write a thing like "00FD7" into the file. I hope its memory address?
thanks for helps