Hey guys i'm a complete beginner in c++. I'm interested in it from a game dev point of view but am trying to get my head around the basics at the moment.


Iv been following the tutorials and im just trying my own little statements to see if i can get them to work. I have copied some of the stuff from the tutorial and it worked fine.

ok, this is one i got to work so far
Code:
#include <iostream>

using namespace std;


int main()


{
    if ( 5<10)
    cout<<"five is less than 10";






}
That seem to be fine , working ok.

Then i tryed to say if 11 was less than 10 say it was false and then go to if 5 was less than 6 say it was true.

Anyone know how i could say this? I cant really figure out how to, thanks