Writing data to file using QMap
-
This post is deleted!
-
@Beginner_to_code said in Writing data to file using QMap:
Somebody help me to solve this
Solve what exactly?
-
This post is deleted!
-
@Beginner_to_code said in Writing data to file using QMap:
I want to implement QMap in this instead of structure..
Then do so.
What exactly is the problem? Do you want that somebody else rewrites the code for you? -
This post is deleted!
-
@Beginner_to_code You are not asking a concrete question. It is not clear what ideas/help you need.
I will try though:struct sim_struct { int TimeStamp; // QVector<float> data; float data[160]; } // --> QMap<int, std::array<float, 160>> map;
-
@Beginner_to_code
Like @jsulm I don't know what it is you want to do or what the problem is. But I note you wrotenow i have to write same data to a csv file without client socket using Qmap
What I don't get is:
QMap
is a data structure. It has nothing to do with "client socket". You either need a socket or you don't. What connection/link is there between your use ofQMap
and your use, or not, of "client socket"?