🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.lang
Article #83

Re: �ҵ��죬VS��VC++��GCC��ȣ�Ч�ʺܲ�һ��

#83
From: Buzzard
Date: Mon, 25 Jun 2007 14:06
41 lines
2416 bytes
��һ����ȫ���Ǵ�ӡ����������ڰ�

On Mon, 25 Jun 2007 17:29:12 +0800, "batch" <chinaonhb@hotmail.com>
wrote:

>��������
>��������������������������������������������
>#include <stdio.h>
>#include <stdlib.h>
>
>int main ()
>{
>    int a;
>    a = sizeof(char);
>    printf ("char %d\n",a);
>    a = sizeof(unsigned char);
>    printf ("unsigned char %d\n",a);
>    a = sizeof(short);
>    printf ("short %d\n",a);
>    a = sizeof(unsigned short);
>    printf ("unsigned short %d\n",a);
>    a = sizeof(int);
>    printf ("int %d\n",a);
>    a = sizeof(unsigned int);
>    printf ("unsigned int %d\n",a);
>    a = sizeof(long);
>    printf ("long %d\n",a);
>    a = sizeof(unsigned long);
>    printf ("unsigned long %d\n",a);
>    a = sizeof(long long);
>    printf ("long long %d\n",a);
>    a = sizeof(unsigned long long);
>    printf ("unsigned long long %d\n",a);
>    system ("pause");
>    return 0;
>}
>
>��������������������������������������������
>
>GCC����16.1K��VC��Ȼ����60K�������Ѿ�ʹ�����Ż�ѡ�
>�������ʵ�������˵��ˡ�
Technical Details
Message-ID: <jqiv739ap5mn60osbatla3latpm2ss3pmi@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.simtel.ru!Simtel.RU!news.newsmth.net!news.cn99.com!not-for-mail
References: <f5o1u5$mch$1@news.yaako.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11047e,68dfa6a18681adeb
X-Google-Thread: 107c7f,68dfa6a18681adeb
X-Google-Attributes: gid11047e,gid107c7f,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.simtel.ru!Simtel.RU!news.newsmth.net!news.cn99.com!not-for-mail
From: Buzzard <Buzzard@126.com>
Newsgroups: cn.comp.lang,cn.comp.lang.c,cn.fan
Subject: Re: �ҵ��죬VS��VC++��GCC��ȣ�Ч�ʺܲ�һ��
Date: Mon, 25 Jun 2007 22:06:52 +0800
Organization: Bentium Ltd. (CN99)
Lines: 41
Message-ID: <jqiv739ap5mn60osbatla3latpm2ss3pmi@4ax.com>
References: <f5o1u5$mch$1@news.yaako.com>
NNTP-Posting-Host: 219.134.249.53
Mime-Version: 1.0
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit
X-Trace: news.cn99.com 1182783679 20490 219.134.249.53 (25 Jun 2007 15:01:19 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Mon, 25 Jun 2007 15:01:19 +0000 (UTC)
X-Newsreader: Forte Agent 3.1/32.783