Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaladding a list control to a string Pin
si_6923-Jun-03 23:40
si_6923-Jun-03 23:40 
GeneralRe: adding a list control to a string Pin
vikramlinux24-Jun-03 0:39
vikramlinux24-Jun-03 0:39 
GeneralRe: adding a list control to a string Pin
Rage24-Jun-03 1:28
professionalRage24-Jun-03 1:28 
GeneralRe: adding a list control to a string Pin
RobJones24-Jun-03 1:32
RobJones24-Jun-03 1:32 
QuestionHow to store data?Advice needed!! Pin
Svin23-Jun-03 23:24
Svin23-Jun-03 23:24 
AnswerRe: How to store data?Advice needed!! Pin
Andrew Walker24-Jun-03 0:09
Andrew Walker24-Jun-03 0:09 
GeneralRe: How to store data?Advice needed!! Pin
Svin24-Jun-03 0:31
Svin24-Jun-03 0:31 
GeneralRe: How to store data?Advice needed!! Pin
Andrew Walker24-Jun-03 3:08
Andrew Walker24-Jun-03 3:08 
Svin wrote:
But if i need to get only a part of data. Is it possible in Serialization?

It is possible, all you have to do is only serialize the members which you require when you need to reload the objects.

Sometimes you may not even need to reload the data into an object of the same type, you might just load into a temporary structure. This also has the benefit of keeping messy serialization code away from your original classes and prevents problems of public members or lots of messy pointers to functions.

There of heaps of good examples out there on how to start serialization, my advice is to think simple, (your own format, preferrably text based to make debugging easy) which is as simple to read and write as possible - but try to allow for room to replace a simple system with something more complex if your project is going to grow (maybe XML?)


If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

QuestionHow to specify a series of data for a char array Pin
FlyingDancer23-Jun-03 22:52
FlyingDancer23-Jun-03 22:52 
AnswerRe: How to specify a series of data for a char array Pin
FlyingDancer23-Jun-03 22:55
FlyingDancer23-Jun-03 22:55 
GeneralRe: How to specify a series of data for a char array Pin
RChin23-Jun-03 23:12
RChin23-Jun-03 23:12 
GeneralRe: How to specify a series of data for a char array Pin
FlyingDancer23-Jun-03 23:22
FlyingDancer23-Jun-03 23:22 
GeneralRe: How to specify a series of data for a char array Pin
RChin23-Jun-03 23:36
RChin23-Jun-03 23:36 
GeneralRe: How to specify a series of data for a char array Pin
FlyingDancer24-Jun-03 0:33
FlyingDancer24-Jun-03 0:33 
GeneralRe: How to specify a series of data for a char array Pin
peterchen24-Jun-03 1:54
peterchen24-Jun-03 1:54 
GeneralEnumerating connections Pin
Jump_Around23-Jun-03 22:37
Jump_Around23-Jun-03 22:37 
Questionhow to convert char to date??? Pin
siong23-Jun-03 21:57
siong23-Jun-03 21:57 
AnswerRe: how to convert char to date??? Pin
Michael P Butler23-Jun-03 22:36
Michael P Butler23-Jun-03 22:36 
GeneralRe: how to convert char to date??? Pin
RChin23-Jun-03 23:14
RChin23-Jun-03 23:14 
GeneralI need a visual studio guru help please Pin
YaronNir23-Jun-03 21:36
YaronNir23-Jun-03 21:36 
GeneralRe: I need a visual studio guru help please Pin
Andrew Walker23-Jun-03 23:07
Andrew Walker23-Jun-03 23:07 
GeneralRe: I need a visual studio guru help please Pin
YaronNir23-Jun-03 23:10
YaronNir23-Jun-03 23:10 
GeneralRe: I need a visual studio guru help please Pin
Andrew Walker1-Jul-03 20:51
Andrew Walker1-Jul-03 20:51 
GeneralOLE mini server problem Pin
acosmin23-Jun-03 21:30
acosmin23-Jun-03 21:30 
General2) checking runing app/processes in the system Pin
YanivNahum23-Jun-03 21:24
YanivNahum23-Jun-03 21:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.