see #12: translation of preface and chapter 01

This commit is contained in:
Changkun Ou
2019-07-09 12:20:35 +02:00
parent 72a3a81f75
commit da193739ee
25 changed files with 206 additions and 41 deletions

View File

@@ -16,7 +16,7 @@ OBJECTS_C = foo.o
SOURCE_CXX = 1.1.c.and.cpp
TARGET = 1.1.out
LDFLAGS_COMMON = -std=c++17
LDFLAGS_COMMON = -std=c++2a
all:
$(C) -c $(SOURCE_C)

View File

@@ -1,7 +1,7 @@
all: $(patsubst %.cpp, %.out, $(wildcard *.cpp))
%.out: %.cpp Makefile
clang++ $< -o $@ -std=c++17 -pedantic
clang++ $< -o $@ -std=c++2a -pedantic
clean:
rm *.out

View File

@@ -1,6 +1,6 @@
//
// 2.6.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 2.7.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 2.8.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 3.1.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 3.2.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 3.3.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 3.4.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 3.5.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 3.6.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 4.1.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 4.2.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 4.3.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 6.1.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 7.1.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 7.2.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 8.1.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//

View File

@@ -1,6 +1,6 @@
//
// 8.2.cpp
// c++1x tutorial
// modern c++ tutorial
//
// created by changkun at changkun.de
//