---
title: "h文件和c文件中变量的关系"
author: "wangleide414"
date: "2013-01-22T19:15:00Z"
tags: []
categories: ["编程语言"]
slug: "h-c"
draft: false
lastmod: "2013-01-22T19:15:00Z"
id: 1773972
url: "https://wangleide414.iteye.com/blog/1773972"
---

一般的，在h中定义好变量。在c文件中可以直接引用，不过在c文件的头部中需要include进来。