answersLogoWhite

0


Best Answer

To make an object's members persistent, you must serialise the object. That is, you must save the members to a file or the registry, to be reloaded when the program is next run.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can retain the value of a class member variable even after the exit from the program in visual c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a storage location in the computers memory used for holding info while the program is running?

In Visual Basics this is known as a Variable


What has the author John Smiley written?

John Smiley has written: 'Learn to Program Databases With Visual Basic (Learn to Program)' 'Learn to Program Visual Basic Objects (Learn to Program)' 'Learn to Program with Visual Basic 6' -- subject(s): BASIC (Computer program language), Microsoft Visual BASIC, Visual Basic (Computer program), Visual programming (Computer science), Windows (Computer programs) 'Learn to Program Visual Basic 6 Examples' 'Introduction to Programming with Visual Basic 6 Part 2' 'Learn to Program Visual Basic Examples (Miscellaneous)' -- subject(s): Microsoft Visual Basic for Windows, BASIC (Computer program language)


How are global variable different from local variable in Visual BASIC?

A global variable is available for use throughout the program. It is normally declared outside any procedure. A local variable is only available for use in the procedure it was declared in. Most variables are local, but there will be occasions when you want different procedures to be able to use the same variable. This is when you use a global variable.


How many variable in visual basic?

many


How is a box and whisker plot useful?

It is a very simple way to create a visual summary of the central location and spread of a variable. It is a very simple way to create a visual summary of the central location and spread of a variable. It is a very simple way to create a visual summary of the central location and spread of a variable. It is a very simple way to create a visual summary of the central location and spread of a variable.


What are numeric constant in visual basic?

It is a variable that can not be changed such as PI.


How do you create a program in visual basic?

arrays programms in visual basic


Does the visual boy advance give you viruses?

No, the Visual Boy Advance program does not give you viruses. You can get a virus from files downloaded from unsafe sources and then used with the Visual Boy Advance program.


What are two visual cues that tell you that WordPad is the active program?

switch to wordpad .what are two visual cues that tell you that wordpad is the ac8t7ive program?


Who is the inventor of visual basic program?

microsoft


Vb is extension of?

A Visual Basic program.


What is used to declare variables in Visual Basic?

declaration of variable is dim a as integer