Molja pomognete na edin kolega ot edin mail list na QT Programmers. :-)
 
======================================================
 
Hi Guys,
because I don't know where else I can ask for it I ask you.
Hope it is not too far from the thread.

In C++ there are two types of AND (&, &&) right?
The & ist bitwise and the other a logic or?
That mean 'a && b' is 'ab'?
Or an other example:
'1 && 2' ? ='12'
Or is something up to know wrong?

If not:
So, how could this be :

int Value1 =2;
Value1=Value && 3;
return(Value1);

and the thing it returns ist '1'

I tryed it in some other ways. With are Value. I get allway '1' as the value
it returns.

Could someone help me?

Greetings,
Gregor Karzelek
 
================================================
| Tihomir Dolapchiev - Software Engineer
| GEMATRONIK Gmbh - Weather Radar Systems
| 41429 Neuss Germany
| tel: +49 2137 782 218
| fax: +49 2137 782 11
| mailto: [EMAIL PROTECTED]
| mailto: [EMAIL PROTECTED]
| http://www.Gematronik.com
================================================

Одговори путем е-поште