[Solved] Access violation reading location 0xCCCCCCCC [closed]
Presuming you have twelve months in your input file, you’re reading past the end of your arrays. Replace: for(int i=0;i<=count;i++) { with: for( int i=0; i < count; ++i ) { 0 solved Access violation reading location 0xCCCCCCCC [closed]