I'm sorry to say but with such code-design no tool will help you out...
To initialize an array - of any size - in the way like you propose is totally wrong.
There is the option of
int array[5] = {1,2,3,4,5};
But for 300 elements you probably have to re-think your design!!!
http://www.tutorialspoint.com/cprogramming/c_arrays.htm[
^]