标题:who can help me?
取消只看楼主
sxlengwa
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2005-2-24
 问题点数:0 回复次数:0 
who can help me?

 楼主

c++里可不可以把说明和定义分别放在.h和.cpp文件中 而包含时只包含.h文件。 如果可以,怎么实现? 如: a.h: #include <iostream.h> int print(); a.c #include"a.h" int print() { cout<<"chuantina?"; } 程序: #include"a.h" int main() { print() return 0; }
搜索更多相关主题的帖子: help 
2005-04-09 09:08



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-15160-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.451402 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved