Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualParadigm Shifter

Posted 09 December 2012 - 12:27 PM

At least use stricmp to allow for capitalistaion. Consider using synonyms as well, put them in a std::map or something. 80s pop should be allowed as well as eightiespop, for example.

You should also keep score, number of correct answers and so on.

EDIT: Also use std::string rather than fixed size buffers for input. That's just asking for trouble and totally unnecessary when using console input in C++.

#2Paradigm Shifter

Posted 09 December 2012 - 12:27 PM

At least use stricmp to allow for capitalistaion. Consider using synonyms as well, put them in a std::map or something. 80s pop should be allowed as well as eightiespop, for example.

You should also keep score, number of correct answers and so on.

EDIT: Also use std::string rather than fixed size buffers for input. That's just asking for trouble and totally unnecessary when using console input in C++.

#1Paradigm Shifter

Posted 09 December 2012 - 12:17 PM

At least use stricmp to allow for capitalistaion. Consider using synonyms as well, put them in a std::map or something. 80s pop should be allowed as well as eightiespop, for example.

You should also keep score, number of correct answers and so on.

PARTNERS