cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Data Segment Backups
Data Segment Backups
Jan 6, 2015 at 8:44am UTC
rahmanian
(1)
Hi dears
I want to have a backup of the data segments of my running program. How do that in c++?
I need restore it a few seconds later.
Thanks
Jan 6, 2015 at 3:02pm UTC
Avilius
(617)
Just save data on the hard drive. Fstream should help.
Jan 6, 2015 at 3:08pm UTC
Konstantin2
(142)
Unusual but quick solution:
In Posix You can fork(). Second process makes all jobs and exits. First process waits for the second and continue self execution after the second exited.
Last edited on
Jan 6, 2015 at 3:09pm UTC
Topic archived. No new replies allowed.