Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Parsing error

$
0
0
Hey guys not sure where im going wrong with this code void Question ( Vector2 pos , string q , string a , string b , string c , string d , int correct ){ questionText = q; answers[0] = a; answers[1] = b; answers[2] = c; answers[3] = d; int st= "ABCD"; for (int i= 0; i < answers.Length; i++) { displayAnswers[i] = st[i]+": "+answers[i]; } correctAnswerIndex = correct; correctAnswer = "Correct answer: " + answers[correct]; CalcRects(pos); }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>