mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-16 20:27:08 +03:00
book: fix anchor link (#181)
This commit is contained in:
committed by
GitHub
parent
4cb055f629
commit
5e2531058c
@@ -55,7 +55,7 @@ For some force majeure and historical reasons, we had to use some C code (even o
|
||||
|
||||

|
||||
|
||||
From now on, you should have the idea that "C++ is **not** a superset of C" in your mind (and not from the beginning, later [References for further reading] (# further reading references) The difference between C++98 and C99 is given). When writing C++, you should also avoid using program styles such as `void*` whenever possible. When you have to use C, you should pay attention to the use of `extern "C"`, separate the C language code from the C++ code, and then unify the link, for instance:
|
||||
From now on, you should have the idea that "C++ is **not** a superset of C" in your mind (and not from the beginning, later [References for further reading](#further-readings) The difference between C++98 and C99 is given). When writing C++, you should also avoid using program styles such as `void*` whenever possible. When you have to use C, you should pay attention to the use of `extern "C"`, separate the C language code from the C++ code, and then unify the link, for instance:
|
||||
|
||||
```cpp
|
||||
// foo.h
|
||||
|
||||
Reference in New Issue
Block a user