Hi, thank you for the advise. I studied a basic idea of dynamic memory allocation in K&R. Some fields of my database in fact contain strings whose length vary each row, so I should've used the...
Type: Posts; User: ni00
Hi, thank you for the advise. I studied a basic idea of dynamic memory allocation in K&R. Some fields of my database in fact contain strings whose length vary each row, so I should've used the...
Thanks a lot again. Now I come to understand that there is usually no need of auto variable more than 1Mb, as in my case. static specifier works perfectly, I will go with it.
Thank you so much, that's explain everything. (I did not even know that there's upper limit for local variable size.)
Please allow me to make a beginner's question. I'd like to declare an array of structures for holding data of a worksheet:
struct row {
int name;
int age;
int dob;
...(many entries)...};
...