Article View: cn.comp.lang
Article #53Re: 看来很多人不会写规范代码……
From: 云海天潮
Date: Thu, 12 Jul 2007 06:25
Date: Thu, 12 Jul 2007 06:25
58 lines
4251 bytes
4251 bytes
����˵���㿴���˵Ĵ����ʱ�������ô����Ű湤���Ű����ٿ�
batch wrote:
> �Ű�ֻ�Ƕ��������ã���������Ȼ����ô��ȥ���
>
> "�ƺ��쳱" <xmxsuperstar@gmail.com.usenet> д����Ϣ news:f6kniv$ueb$4@news.yaako.com...
>> ��indent������
>> batch wrote:
>>> ������������Ƿ����ˣ�һ�쵽��N���˹�������C���ԵĿγ���ƣ�������ȥ�����룬����
>>> �������ۻ����ǣ����ǵĴ��������ѿ���Ҫ���겻�βŹ֣�ÿ���Ҷ�Ҫ�����Ű�һ�Ρ�
>>> �����DZ�̷��ǿд���飬����Ĵ����Ű桢д�����ܲ��淶����������ͷ�ϵ���������������鼮���淶�ö࣬������������ߣ�Ҳ�ܹ淶��
>>> ��̷��ǿ����Щ�����Դ������ȣ���Զ�ˡ���㲻������ô���������ˡ�
>>>
>>> ��������һ��Ƭ�ϣ�����֮���õ��ǿո��һ�������д��
>>> ����������������������������������������������������������������������������
>>> #include<stdio.h>
>>> #include<stdlib.h>
>>> #define NULL 0
>>> void opena();
>>> struct consumer
>>> { char name[4];
>>> char sex;
>>> long num;
>>> long money;
>>> long tel_num[20];
>>> char ID_num[20];
>>> }client;
>>>
>>> void main()
>>> {char ch;
>>> printf("***************************************************\n");
>>> printf("************ Huali-bank System ***********\n");
>>> printf("*****************************************************\n");
>>> printf("��ӭʹ�ã���^_^�����ѡ��һ�·���:\n");
>>> printf("1.�����:\n");
>>> printf("2.ȡǮ\n");
>>> printf("3.�˳�\n");
>>> printf("��ѡ��\n");
>>> ch=getchar();
>>> system("cls");
>>> switch (ch)
>>> {case '1':opena();break;
>>> case '2':break;
>>> case '3':exit(0);break;
>>> }
>>> }
>>> ����������������������������������������������������������������������������
>> --
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> YHTCH �ƺ��쳱
>> http://xmxsuperstar.spaces.live.com
>> �п�ͥǰ�������䣬���������ƾ�����
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
YHTCH �ƺ��쳱
http://xmxsuperstar.spaces.live.com
�п�ͥǰ�������䣬���������ƾ�����
Technical Details
Message-ID:
<f74hgb$6ug$6@news.yaako.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!news.yaako.com!not-for-mailReferences:
<f6kcal$f5p$1@news.yaako.com> <f6kniv$ueb$4@news.yaako.com> <f6kudo$afm$1@news.yaako.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11047e,87bb6facd4218106 X-Google-Thread: 107c7f,87bb6facd4218106 X-Google-Attributes: gid11047e,gid107c7f,public,usenet X-Google-Language: Chinese,GB Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!news.yaako.com!not-for-mail From: 云海天潮 <xmxsuperstar@gmail.com.usenet> Newsgroups: cn.comp.lang,cn.comp.lang.c,cn.fan Subject: Re: 看来很多人不会写规范代码…… Date: Thu, 12 Jul 2007 14:25:12 +0800 Organization: Bentium Ltd. (CN99) Lines: 58 Message-ID: <f74hgb$6ug$6@news.yaako.com> References: <f6kcal$f5p$1@news.yaako.com> <f6kniv$ueb$4@news.yaako.com> <f6kudo$afm$1@news.yaako.com> NNTP-Posting-Host: 218.94.9.35 Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.yaako.com 1184221515 7120 218.94.9.35 (12 Jul 2007 06:25:15 GMT) X-Complaints-To: usenet@news.yaako.com NNTP-Posting-Date: Thu, 12 Jul 2007 06:25:15 +0000 (UTC) User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) In-Reply-To: <f6kudo$afm$1@news.yaako.com>