I have an array that looks like this in my header,
obviously that's too big for me to write out all 100 elements in the header file, I would much rather do it with a for loop(especially when each element is not the same). I am wondering how I can initialize the array in my .cpp file without the compiler complaining about not initializing a const variable. Thanks!Code:const char a[100];