K
Kasu Nai
I have a very simple question. I'm stuck at one point and have no
idea how to do this. I've tried so many things.
I have an array (type char). I need to populate the last row
(containing 10 columns) in this array with some values. Unfortunately
the values are returned from a method as an integer.
Example:
for (col =0; col <10; col++)
Answers[lastrow][column] = SummarizeTestScores(col);
//Where Answers is defined as char array with 14 Rows x 10 Columns
//Where SummarizeTestScores RETURNS a value which is an integer (i.e.
number of correct answers per question...7 answered question 1
correct; 5 answered question 2 correct, etc..).
I keep getting "loss of precision" error. Please provide any input
you may have.
Thanks!
Kasu
idea how to do this. I've tried so many things.
I have an array (type char). I need to populate the last row
(containing 10 columns) in this array with some values. Unfortunately
the values are returned from a method as an integer.
Example:
for (col =0; col <10; col++)
Answers[lastrow][column] = SummarizeTestScores(col);
//Where Answers is defined as char array with 14 Rows x 10 Columns
//Where SummarizeTestScores RETURNS a value which is an integer (i.e.
number of correct answers per question...7 answered question 1
correct; 5 answered question 2 correct, etc..).
I keep getting "loss of precision" error. Please provide any input
you may have.
Thanks!
Kasu