i want to create a loop to generate a random question,user answers,user answer be checked with true answer,if true,true++,else,false++.and next question to 10.and instead of strcasecmp,what shuold i do in c++?hee is my code:
int true=0,false=0;
char useranswer[10];
char question[200][200];
strcpy(question[0],"1.Which planet is closest to the sun?");
strcpy(question[1],"2.At the start of a game of chess, who moves first?");
strcpy(question[2],"3.Which is the tallest mountain in the world?");
strcpy(question[3],"4.In which country is the Louvre Museum?");
strcpy(question[4],"5.How is the number 5 written in Roman numerals?");
strcpy(question[5],"6.True or False: All polar bears are left-handed?");
strcpy(question[6],"7.Which fruit gave its name to a desk top computer in 1984?");
strcpy(question[7],"8.How many Godfather films have been made?");
strcpy(question[8],"9.What colour do you add to blue to make it green?");
strcpy(question[9],"10.What is the capital city of Spain?");