From owner-freebsd-newbies Thu May 3 11:29:34 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from fep03-svc.mail.telepac.pt (fep03-svc.mail.telepac.pt [194.65.5.202]) by hub.freebsd.org (Postfix) with ESMTP id 0402F37B423 for ; Thu, 3 May 2001 11:29:31 -0700 (PDT) (envelope-from david@angra.uac.pt) Received: from david ([212.55.170.172]) by fep03-svc.mail.telepac.pt (InterMail vM.4.01.02.27 201-229-119-110) with SMTP id <20010503183713.GHPN19807.fep03-svc.mail.telepac.pt@david> for ; Thu, 3 May 2001 19:37:13 +0100 From: david Reply-To: david@angra.uac.pt To: freebsd-newbies@FreeBSD.org Subject: hex versus binary Date: Thu, 3 May 2001 18:23:13 +0000 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <01050318282500.00520@david> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello! I'm a newbie in the world of C programming. I don't know to to address my C programming questions. Here goes my question: When i'm writing my library "konst.h" and I want do define a number in hexadecimal mode, I put: #define CSQ 0x00000010 what do I write when I want to define a number but in binary mode? Cheers David ------------------------------------------------------------ David Sousa Mendes LAMTec- Laboratório de Ambiente Marinho e Tecnologias Telefone : 96.4470312 Residência : R. da Graça, nº 90 9760 - Praia da Vitória Ilha Terceira To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message