| | |
C++ computer memory access
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Well You should use files to store data and get back data in the beggining stages.
filestreams would help you out with that.
Try googling out filestreams with c++ for a tutorial.
filestreams would help you out with that.
Try googling out filestreams with c++ for a tutorial.
There are several ways...
The most popular way would be to save the information to a file then retrieve it later.
Another popular way that isn't done unless absolutely necessary is by querying information to a database then retrieving it later.
There may be a way to fool around with memory and store the information somewhere more permanent, but I don't know how to do that, nor would I recommend it.
The most popular way would be to save the information to a file then retrieve it later.
Another popular way that isn't done unless absolutely necessary is by querying information to a database then retrieving it later.
There may be a way to fool around with memory and store the information somewhere more permanent, but I don't know how to do that, nor would I recommend it.
Last edited by Alex Edwards; Oct 19th, 2008 at 1:36 am.
•
•
Join Date: Aug 2008
Posts: 206
Reputation:
Solved Threads: 31
•
•
•
•
There may be a way to fool around with memory and store the information somewhere more permanent, but I don't know how to do that, nor would I recommend it.
There are some types of memory more enduring than RAM (eg ROM) but using them relies on them being present (i.e. not guaranteed to be available for use on all computers) and also relies on significantly more knowledge than saving data to a disk file.
•
•
•
•
Yeah, it's usually called "copying contents of memory to a disk file in some format" :lol:
There are some types of memory more enduring than RAM (eg ROM) but using them relies on them being present (i.e. not guaranteed to be available for use on all computers) and also relies on significantly more knowledge than saving data to a disk file.
Hi
like sbdy told u above search for
but when u start searching for tutorials add the following term as well:
A hard disk and thus a disk file too has a one-dimensional structure -> linear.
Therefore whenever you write to a file, you write one thing after another--serially.
Hence the name serialization. The opposite is called deserialization.
Finally u might find helpful the following thread which is also about a bank account program and uses serialization:
http://www.daniweb.com/forums/thread151845-2.html
I am starting to suspect that u and Avaviel might be classmates....
like sbdy told u above search for
•
•
•
•
filestreams
•
•
•
•
serialization
Therefore whenever you write to a file, you write one thing after another--serially.
Hence the name serialization. The opposite is called deserialization.
Finally u might find helpful the following thread which is also about a bank account program and uses serialization:
http://www.daniweb.com/forums/thread151845-2.html
I am starting to suspect that u and Avaviel might be classmates....
![]() |
Similar Threads
- Tutorial: An introduction to algorithms (Computer Science)
- Computer Shuts Down And Restarts By Itself (Troubleshooting Dead Machines)
- Computer Architecture Reference (Computer Science)
- help me! computer boot problems (Windows NT / 2000 / XP)
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- how computer work (Computer Science)
- Arrays (C++)
- Freezes and Odd things after memory upgrade (Windows NT / 2000 / XP)
- can't open any picture files, gets an error (Windows NT / 2000 / XP)
Other Threads in the C++ Forum
- Previous Thread: Writing a Program using "pass-by-reference" functions.
- Next Thread: Visual C++ Debugging Problem
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count data database delete deploy developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game getline givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings struct temperature template text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





