??? 12/30/04 19:44 Read: times |
#84141 - just one array Responding to: ???'s previous message |
Shahzad said:
Paul you said that you will use 2 arrays .. my only question is will not it take extra space when you can do the same work using a single array Shahzad Yes it would be more efficient to use just one array. I was thinking that the line: if (YearLen==366) DaysInPriorMonths[2]+=1; could choose between the two arrays as an easy way to change the existing code. I must confess I didn't really look at the code all that closely. The important think is to reduce the use of local variables of the long data type. It is these that resulted in the message:- Address Space Overflow Space Data Segment DateToSeconds Paul |
Topic | Author | Date |
C Code t o Assembly | 01/01/70 00:00 | |
C to Asm | 01/01/70 00:00 | |
C Code t o Assembly | 01/01/70 00:00 | |
only one table | 01/01/70 00:00 | |
Need some more details | 01/01/70 00:00 | |
Not even true ! | 01/01/70 00:00 | |
Answer is Wrong!! | 01/01/70 00:00 | |
Re : previous 3 replies and Paul | 01/01/70 00:00 | |
Previously on 8052.com | 01/01/70 00:00 | |
Overflow | 01/01/70 00:00 | |
just one array | 01/01/70 00:00 | |
too limited, Paul | 01/01/70 00:00 | |
Nothing to do with scope | 01/01/70 00:00 | |
Agreed | 01/01/70 00:00 | |
No success ! | 01/01/70 00:00 | |
Re: Peter | 01/01/70 00:00 | |
to assembly | 01/01/70 00:00 | |
Example code | 01/01/70 00:00 | |
Any unused functions in your program? | 01/01/70 00:00 | |
query | 01/01/70 00:00 | |
Off-Topic - start a new thread | 01/01/70 00:00 | |
... and use a _descriptive_ subject!![]() | 01/01/70 00:00 |