ick.... ya I see what you mean.
So I'm assuming the max size an array can have is determined by how much avaliable memory a system has. If this is the case then one could find out how much memory...
Type: Posts; User: osyrez
ick.... ya I see what you mean.
So I'm assuming the max size an array can have is determined by how much avaliable memory a system has. If this is the case then one could find out how much memory...
Thank you all for your input, It seems clear that an const unsigned int would be the best choice while checking for a segfault error. I had assumed that creating an array of such a large size would...
I have a question as to what the better programming practice would be if I have a function that takes an integer input to determine the size of an array.
1. Use an unsigned int. This seems like...