I am just messing around with C++ right now as I want to take it in college. I am trying to make a program to help me study for a test. What I want it to do is to ask the question then say if it is right or wrong, then move on to a random question.
So the first problem I have is that I don't know how to do a String on Microsoft Visual C++. It doesn't recognize it as a proper data type. I am trying to do an if/else statement and it will not let me use any letters in the answer part of "if (question == answer)"
If I use a number as the answer then it works fine.
And then I don't know how to make it move on to a random question.
So the first problem I have is that I don't know how to do a String on Microsoft Visual C++. It doesn't recognize it as a proper data type. I am trying to do an if/else statement and it will not let me use any letters in the answer part of "if (question == answer)"
If I use a number as the answer then it works fine.
And then I don't know how to make it move on to a random question.