![]() |
|
#1
|
|||
|
|||
Transferring data between arraysHi guys,
i have a program that continuously fills a array with data while it runs, overwritting the previous data when it gets full. i wish to store the data captured in another larger array, say 10 times of the original one, so that i can write 10 cycles of the data generated from the program to disk. Anyone can help me with the codes to transfer the data from the original array to the large one? |
|
#2
|
||||
|
||||
|
Quote:
Make the second array a two dimentional, [10][x] Keep an index to the row you will fill next -- points to the '10' index When you need to move, simply loop, moving the old array to the new array. When done, increment the index to the next row __________________
Cow: You're a lawyer too? Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase! |
|
#3
|
|||
|
|||
|
Quote:
it's dimensional not dimentional ![]() __________________
spasms!!! |
|
#4
|
||||
|
||||
|
Quote:
__________________
Cow: You're a lawyer too? Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase! |
Recent GIDBlog
Toyota - 2008 July Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Conversion from a data from line into a tabular form in C/C++ | gwk | C Programming Language | 18 | 21-Aug-2007 14:05 |
| [CONTEST?]Data Structure Test | dsmith | C Programming Language | 2 | 06-Jun-2004 15:13 |
| reading a char* into struct data | spike666 | C Programming Language | 7 | 19-Apr-2004 12:06 |
| Automate a data change php form | mjfmn | MySQL / PHP Forum | 4 | 20-Oct-2003 09:37 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The