��ǹ�����żš� (Preprocessor statement)��ǹ���е�ͧ�շء����� �Ҩ���¡�����ǹ��Ǣͧ����� ���繵�ͧ��˹����㹵����������� �¨Т�鹵鹴�������ͧ���� # ������¤�������礷տ (Directive) ����ͧ��á�˹���� �� #include <stdio.h> ���� #include "stdio.h" ���¶֧��ü�ǡ�δ���������� stdio.h �������ҹ ��駹���δ������� stdio.h ��鹨�����쪹Դ��ͤ��� (Text file) ���������������ա�û�С�Ȥ�ҵ���� ��Ф�Ҥ�����ҧ� ��èؿѧ��ѹ�ҵðҹ��ҧ� �����Ҵ��¡ѹ�����Ǵ�������ǡѹ��� ��ШѴ��ŧ��ź���� �¨ж١���������ҹ����ѹ�Ѻ�ش�������������з������������ ��ǹ��С�ȵ������ǹ��ҧ (Global declarations statement)��ǹ������㹡�û�С�ȵ�������Ϳѧ��ѹ����ͧ�������� �·ء� ��ǹ�ͧ���������ö���¡������ŷ���С��������ǹ����� ��ǹ�ѧ��ѹ��ѡ (Function main)��ǹ���ء������е�ͧ�� ������㹿ѧ��ѹ��ѡ�л�Сͺ���¤���觵�ҧ� �������������ӧҹ �ѧ��ѹ���������鹡�÷ӧҹ���¿ѧ��ѹ main() ��ǹ����觵�ҧ� �е�ͧ��¹���������ҧ����ͧ���� { ��� } ���� ��Ф���觷ء���������ҫըе�ͧ�Դ���´�������ͧ���� ; (semicolon) ���� ��ǹ�ѧ��ѹ����˹��ͧ (User-defined function)�繡����¹�������пѧ��ѹ��ҧ� ����������� �µ�ͧ���������ͧ���� { } ��е�ͧ���ҧ�ѧ��ѹ���ͤ����������ӧҹ�����ҵ�ͧ������Ѻ������������ö���¡���� ��������� ��ǹԺ������� (Program Comment)�������� (comment) �����ǹ����������˵آͧ����� ����������������¹���������ͤ���Ժ�¡ӡѺŧ�� source code ��觤������������ӡ���ż����ǹ����繤��������� ������������ҫ��� 2 Ẻ���
������ҧ��ä�����������ҫ�
������á�ͧ�ѹ
���Ѿ���� Hello World !
Ժ�������
|