Error debugging

HI all,
I was compiling a program of inserting an element into a sorted array/getting the index of the insert. My array size was 64 integers. I am getting this error:

warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]

Does it mean i m making too big an array?
Also the largest no in my array was 150000. I guess it is with in int range of my compiler (64bit PC). Correct me if I am wrong.
How to sort the array problem?
Just now I tried with an array containing smaller value of int upto say 200 and its working. Is the problem because of the elements of the array. They are quite big in my first program ranging till 150000.
You get a warning because you use a feature that is only available in C++11. The warning should disappear if you turn on C++11 mode by passing -std=c++0x to gcc.
Topic archived. No new replies allowed.