如何在一个cpp中利用另外一个cpp中的内容?请看我的帖子
这是6.cpp:#include <iostream>
using namespace std;
main()
{
int a=3,b=4;
cout<<a+b<<endl;
return 0;
}这是6b.cpp:
#include "6.cpp"
{
cout<<a+b<<end;
}请问应该怎么改才能让6b.cpp中利用上6.cpp中的内容?
2008-10-21 19:53
2008-10-24 21:46
2008-10-24 21:49
2008-10-24 22:43
2008-10-25 01:33

2008-10-25 03:27
2008-10-25 08:49
2008-10-25 08:49
2008-10-25 11:10
2008-10-25 11:50