---
title: "C版HelloWorld"
author: "hwpok"
date: "2008-10-03T14:13:00Z"
tags: []
slug: "c-helloworld"
draft: false
lastmod: "2008-10-03T14:13:00Z"
id: 615832
url: "https://hwpok.iteye.com/blog/615832"
---

#include &lt;stdio.h&gt;  
void main()  
{  
     printf("Hello,world!");  
}  
#是预处理指令,即给编译器的指令,要法度它在编译代码之前执行某一些操作.  
\*.h是头文件,它通常被加在程序的开头.它定义了一些标准C语言库提供的函数的信息.  
main函数是程序的入口.