posted @ 2019-05-25 10:40 yacbo 阅读(190) 评论(0) 推荐(0) 编辑
摘要:
extern可以置于变量或者函数前,以标示变量或者函数的定义在别的文件中,提示编译器遇到此变量和函数时在其他模块中寻找其定义。此外extern也可用来进行链接指定。 ①声明函数或全局变量的作用范围的关键字,其声明的函数和变量可以在本模块或者其他模块中使用,记住它是一个声明不是定义! ②链接指定。当它 阅读全文
posted @ 2019-05-25 10:40 yacbo 阅读(190) 评论(0) 推荐(0) 编辑
posted @ 2019-05-25 10:23 yacbo 阅读(115) 评论(0) 推荐(0) 编辑
posted @ 2019-05-23 11:29 yacbo 阅读(1401) 评论(0) 推荐(0) 编辑
posted @ 2019-05-18 21:29 yacbo 阅读(162) 评论(0) 推荐(0) 编辑
posted @ 2019-05-16 20:09 yacbo 阅读(134) 评论(0) 推荐(0) 编辑
posted @ 2019-05-13 18:56 yacbo 阅读(1333) 评论(0) 推荐(0) 编辑
posted @ 2019-05-12 20:21 yacbo 阅读(2039) 评论(0) 推荐(0) 编辑
posted @ 2019-05-10 11:06 yacbo 阅读(204) 评论(0) 推荐(0) 编辑
Copyright © 2024 yacbo
Powered by .NET 8.0 on Kubernetes