convert into string
C / C++ / MFC
5
Posts
5
Posters
0
Views
1
Watching
-
:confused: Uh ? What do you mean exactly ?
Cédric Moonen Software developer
Charting control [v1.5 - Updated] OpenGL game tutorial in C++ -
You can't convert the structure itself to a string. You can, however, convert its members to a string.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
What do you need? do you want to convert size or time of a file to string?
-
probably you want to send the structure over socket or some thing similar if this is correct then you can try.
char str[SIZE]; //SIZE should be size of the structure.
memcpy(str,&FindFileData,sizeof(WIN32_FIND_DATA));I hope this makes sense.
Regards, Sandip.