Home > Back-end >  QT write files to CSV in cell line
QT write files to CSV in cell line

Time:04-18

Use QTextStream, write a CSV file, encounter a problem, under normal circumstances
QFile data (" d: \ \ a.c sv ");
QTextStream out (& amp; The data);
Out<& lt;" A "& lt; & lt;" , "& lt; & lt;" B "& lt; & lt;" The \ r \ n "; This is two cell fill in the a, b,
If I set the second value is a value, I want to make a line within the second cell one, don't know how to implement,
A, b
B1
B2
V v1
v2
  • Related