Article View: cn.bbs.comp.program
Article #224Re: C++����һ��!��������æ
From: J
Date: Sat, 09 Oct 1999 00:00
Date: Sat, 09 Oct 1999 00:00
23 lines
1107 bytes
1107 bytes
> [1;36m==> Shan_Gu(ɽ��) ˵��: [37;40m[0m
> ������C++����ѧ�ò��ã��ʱ��ʮ�����ѣ�
> ����һ���ı����Ŀ�����Ʋ������ӣ���̸�λ���֣�
> ����һ��int������ĵ���λ������λ������Ϊ1��
> ���λ���ߴͽ̡�
int iNum;
.
.
. // some codes
iNum>>=4;
iNum<<=4; //set the low 4 bits to be 0
iNum|=15; //15=1111b;
.
.
--
�� ��Դ: �й�ƴ�BBSվ [bbs.ustc.edu.cn]
Technical Details
Message-ID:
<991009.11ZrAs$PBBS@bbs.ustc.edu.cn>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: fc86e,b9a97af228b08f5d X-Google-Attributes: gidfc86e,public From: Wind_Sage@bbs.ustc.edu.cn (J) Subject: Re: C++����һ��!��������æ Date: 1999/10/09 Message-ID: <991009.11ZrAs$PBBS@bbs.ustc.edu.cn> X-Deja-AN: 536371438 Distribution: ustc Organization: �й�ƴ�BBSվ Newsgroups: cn.bbs.comp.program