this is in C++. I don't know for sure how ram and normal harddrive memory works. Point is, i need to put into some sort of memory, a table/matrix, that has 17770 rows, and 480thousand coloumns, where in each box, there is a 3 bit number (0-5). I figured i would need approximately 3.2 gigabytes of space for this matrix. Problem is that i don't have so much ram. At first i though i could make two folders with text files in each folder, where in one folder i would have 17770 text files each with info about the 480thousand variables...and then, in the other folder, have 480thousand files, with 17k info in each. Unfortunely, just the creation of these files would take 10 days. And, even if i create these files, i think loading a file would take too long since windows would have to scan the name of each file until one matches with the query.
Can anyone help?
2006-10-15
12:26:49
·
2 answers
·
asked by
carrotstien
2
in
Computers & Internet
➔ Programming & Design