Skip to content

Commit

Permalink
增加第十题的出题人与日期,修改现代C++题目,增加标签序号以及目录。
Browse files Browse the repository at this point in the history
  • Loading branch information
Mq-b committed Nov 10, 2023
1 parent c3721ab commit 22cdc05
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
*.gz
*.out
*.pygstyle
*.pygtex
*.pygtex
*.toc
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,8 @@ this->f();

## `10` 遍历任意类数据成员

出题人:`mq白` 日期:`2023/8/18`

题目的要求非常简单,在很多其他语言里也经常提供这种东西(一般是反射)。
但是显而易见 `C++` 没有反射。

Expand Down
4 changes: 3 additions & 1 deletion src/PDF版题目与答案/tex/question10.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
题目的要求非常简单,在很多其他语言里也经常提供这种东西(一般是反射)。 但是显而易见 C++ 没有反射。\\
出题人:mq白 日期:2023/8/18\\

题目的要求非常简单,在很多其他语言里也经常提供这种东西(一般是反射)。 但是显而易见 C++ 没有反射。

我们给出代码:

Expand Down
Binary file modified src/PDF版题目与答案/现代C++题目.pdf
Binary file not shown.
6 changes: 5 additions & 1 deletion src/PDF版题目与答案/现代C++题目.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{pifont}
\usepackage[colorlinks,linkcolor=blue]{hyperref}
\usepackage[colorlinks,linkcolor=blue,bookmarksnumbered=true]{hyperref}
\renewcommand{\headrulewidth}{0.2pt}
\renewcommand{\headwidth}{\textwidth}
\renewcommand{\footrulewidth}{0pt}
Expand All @@ -21,6 +21,7 @@
\rfoot{}
\title{现代C++题目}


\author{\href{https://github.com/Mq-b/Loser-HomeWork}{卢瑟帝国}\\}

\date{\today}
Expand All @@ -30,6 +31,9 @@
\begin{document}
\maketitle

\tableofcontents
\newpage

暂时只有 13 道题目,并无特别难度,有疑问可看\href{https://www.bilibili.com/video/BV1Zj411r7eP/}{视频教程}或答案解析。

% 后面写只需要按照下面这两行的形式就行了,一个 section 标题,一个 input 题目
Expand Down

0 comments on commit 22cdc05

Please sign in to comment.