So I'm inputting a string called canvasRow, which inputs fine because I'm able to display the string. However, I made a struct called square with an int row, int column, and char color. The rows and columns are assigned correctly but the color is not. It compiles but when I try to cout canvasRow[wid] or squareInsert.color it shows a Mi with a diamond next to it or the program experiences an error depends on which text file I input.