Slide 1.5: Guidelines of programming exercises Slide 1.7: Files versus databases Home |
#include <iostream> using namespace std; int main( ) { const long arraySize = 10000; double array[arraySize]; array[arraySize-1] = 10.0; cout << "The array size is fine."; } |
#include <iostream> using namespace std; int main( ) { const long arraySize = 1000000000; double array[arraySize]; array[arraySize-1] = 10.0; cout << "The array size is fine."; } |