Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,080 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,587 people online right now. Registration is fast and FREE... Join Now!




! operator

 
Reply to this topicStart new topic

! operator

kckc314
11 Apr, 2008 - 12:34 AM
Post #1

D.I.C Head
**

Joined: 5 Apr, 2008
Posts: 128

is there a !! operator in C code? if yes what it means?
User is offlineProfile CardPM
+Quote Post

KYA
RE: ! Operator
11 Apr, 2008 - 12:45 AM
Post #2

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 4,784



Thanked: 91 times
Dream Kudos: 1200
My Contributions
Nope. Only !, which is logical negation
User is online!Profile CardPM
+Quote Post

kckc314
RE: ! Operator
11 Apr, 2008 - 01:35 AM
Post #3

D.I.C Head
**

Joined: 5 Apr, 2008
Posts: 128

QUOTE(KYA @ 11 Apr, 2008 - 01:45 AM) *

Nope. Only !, which is logical negation


do you what is this mean?
if(j==0!!j==1)
User is offlineProfile CardPM
+Quote Post

gabehabe
RE: ! Operator
11 Apr, 2008 - 03:01 AM
Post #4

Donkey DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 5,522



Thanked: 96 times
Dream Kudos: 2650
Expert In: ruling the world.

My Contributions
Are you sure it's not if(j==00||j==1)?
That means if j is 0 OR j is 1
I've never heard of a !! operator
User is offlineProfile CardPM
+Quote Post

lynch
RE: ! Operator
13 Apr, 2008 - 01:48 PM
Post #5

New D.I.C Head
*

Joined: 13 Apr, 2008
Posts: 4

Ive never heard of !!, just ! which can be used to mean not, for example i == 3 means i is equal to 3, i != 3 means i is not equal to 3.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 07:31PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month