We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c04885e commit 7064167Copy full SHA for 7064167
1 file changed
section1/test02.cpp
@@ -0,0 +1,28 @@
1
+// Copyright (c) 2020 by Chrono
2
+//
3
+// g++ test02.cpp -std=c++11 -o a.out;./a.out
4
+// g++ test02.cpp -std=c++14 -o a.out;./a.out
5
6
+
7
+#include <iostream>
8
9
10
+void case1()
11
+{
12
+ using std::cout;
13
+ using std::endl;
14
15
+ cout << "using std::xxx" << endl;
16
+}
17
18
+void case2()
19
20
+ using namespace std;
21
22
+ cout << "using namespace std" << endl;
23
24
+int main()
25
26
+ case1();
27
+ case2();
28
0 commit comments