upload
This commit is contained in:
11
CplusplusPractice/namespace.cc
Normal file
11
CplusplusPractice/namespace.cc
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <iostream>
|
||||
#include "header1.h"
|
||||
#include "header2.h"
|
||||
|
||||
using namespace header1;
|
||||
|
||||
int main()
|
||||
{
|
||||
foo();
|
||||
header2::foo();
|
||||
}
|
||||
Reference in New Issue
Block a user