OR function

Hello there fellow developers, i'm stuck on thinking if C++ has an OR function I.e, if(This or That)Do.this(); don't know if I'm confusing myself with java, would anyone please refresh my memory?

Best regards mastmi.
In C++, you can do the following:

1
2
if (This or That)
{ // code here } 


It's more common to use

1
2
if (This || That)
{ // code here } 
Topic archived. No new replies allowed.