Article View: cn.comp.lang
Article #34Re: 看来很多人不会写规范代码……
From: tyh_123
Date: Sun, 08 Jul 2007 02:01
Date: Sun, 08 Jul 2007 02:01
44 lines
3474 bytes
3474 bytes
û�취����Ҳ�����廪���DZ�Ҳ����ô�ġ�����
��Щ�������IJ��Ǻ���������ǿ����Լ����ٺ�ŷ������ڴ��еı仯��
batch �:
> ������������Ƿ����ˣ�һ�쵽��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;
> }
> }
> ����������������������������������������������������������������������������
Technical Details
Message-ID:
<f6pj4o$gta$1@news.cn99.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.szu.edu.cn!news.cn99.com!not-for-mailReferences:
<f6kcal$f5p$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!news1.google.com!news.glorb.com!news.szu.edu.cn!news.cn99.com!not-for-mail From: tyh_123 <2@2.com> Newsgroups: cn.comp.lang,cn.comp.lang.c,cn.fan Subject: Re: 看来很多人不会写规范代码…… Date: Sun, 08 Jul 2007 10:01:53 +0800 Organization: Bentium Ltd. (CN99) Lines: 44 Message-ID: <f6pj4o$gta$1@news.cn99.com> References: <f6kcal$f5p$1@news.yaako.com> NNTP-Posting-Host: 60.191.126.85 Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.cn99.com 1183862744 17322 60.191.126.85 (8 Jul 2007 02:45:44 GMT) X-Complaints-To: usenet@news.cn99.com NNTP-Posting-Date: Sun, 8 Jul 2007 02:45:44 +0000 (UTC) User-Agent: IceDove 1.5.0.12 (X11/20070607) In-Reply-To: <f6kcal$f5p$1@news.yaako.com>