阅读背景:

解决C++编译出现的重定义问题:multiple definition of ’XXX‘错误_驭风者杨_c++重定义问题

来源:互联网 
  1 //file_NO2:hello.cpp
  2 #include<iostream>
  3 #include"hello.h"
  4 using namespace std;
  5 hello::hello()
  6 {
  7 }
  8 
  9 int hello::Display()
 10 {
 11     cout<<"Hello, World!\n"<<endl;
 12     return 0;
 13 }
  1 //file_NO2:hello.cpp
  2 #include<iostream>



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: