/
CM5-6.tex
158 lines (119 loc) · 4.04 KB
/
CM5-6.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Support de cours Programmation orientée objet %%
%% %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Guillaume Moreau (EC Nantes)
%% création : 21/06/2004
%% dernière modification : 23/06/2004
%% historique :
%% il faut fixer l'URL base pour que les liens relatifs fonctionnent...
%% bizaremment fichu mais c'est comme ça.
\documentclass[allowframebreaks,xcolor=dvipsnames]{beamer}
\mode<presentation>
{
\usetheme{Antibes}
% or ...
%\setbeamercovered{transparent}
% or whatever (possibly just delete it)
}
\useoutertheme{infolines}
\usecolortheme[named=RoyalBlue]{structure}
\uselanguage{french}
\languagepath{french}
\deftranslation[to=french]{definition}{définition}
\deftranslation[to=french]{Definition}{D\'efinition}
\setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{itemize item}[square]
\setbeamertemplate{itemize subitem}[triangle]
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
% or whatever
\usepackage[french]{babel}
% or whatever
%% pour afficher le plan à chaque début de section
%\AtBeginSection[]{
% \begin{frame}{Plan}
% \tiny \tableofcontents[currentsection, hideothersubsections]
% \end{frame}
%}
%% tout ce qui est relatifs aux extraits de code
\usepackage{listings}
\usepackage{lstautogobble}
\lstloadlanguages{C++}
\lstset{% paramètres généraux des listings
language=C++,
basicstyle=\ttfamily\tiny, %% style général : chasse fixe, taille minimale
keywordstyle=\color{webgreen}\bfseries, % les mots clés en vert et gras
stringstyle=\color{blue}, % les chaines de caractères en bleu
commentstyle=\color{webbrown},
autogobble
}
\usepackage{myslides}
%\usepackage{times}
\usepackage[T1]{fontenc}
% Or whatever. Note that the encoding and the font should match. If T1
% does not look nice, try deleting the line with the fontenc.
\title[Option RV / CPLUS] % (optional, use only with long paper titles)
{Programmation C++}
\author[G. Moreau]{Guillaume Moreau\\
\texttt{guillaume.moreau@ec-nantes.fr}}
% - Use the \inst{?} command only if the authors have different
% affiliation.
\institute[Ecole Centrale de Nantes] % (optional, but mostly needed)
{
Ecole Centrale de Nantes
}
\date % (optional)
{Septembre 2020}
\subject{Cours Programmation C++}
\definecolor{webgreen}{rgb}{0,.5,0}
\definecolor{webbrown}{rgb}{.6,0,0}
\definecolor{* }{rgb}{0,.5,0}
\definecolor{. }{rgb}{.6,0,0}
% option d'affiche de table des matières : http://mirror.unl.edu/ctan/macros/latex/contrib/beamer/doc/beameruserguide.pdf
% section 10.5
% Delete this, if you do not want the table of contents to pop up at
% the beginning of each subsection:
\AtBeginSection[]
{
\begin{frame}
\frametitle{Plan}
\tableofcontents[sectionstyle=show/hide,subsectionstyle=show/show/hide,subsubsectionstyle=hide/hide]
\end{frame}
}
\AtBeginSubsection[]
{
\begin{frame}
\frametitle{Plan}
\tableofcontents[sectionstyle=show/hide,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/show/hide]
\end{frame}
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}[allowframebreaks]{Plan du cours}
\tableofcontents[hideallsubsections]
% You might wish to add the option [pausesections]
\end{frame}
\section{La bibliothèque standard}
\input{stl}
\section{C++ avancé}
\input{advanced}
\section{Quelques nouveautés de C++11}
\input{c++11}
\section{Bibliographie sommaire}
\begin{frame}{Bibliographie}
\begin{itemize}
\item B. Stroustrup (2013). The C++ programming Language, 4th edition. Addison Wesley.
\end{itemize}
\end{frame}
\begin{frame}{Cours en ligne}
\begin{itemize}
\item OpenClassrooms \url{http://fr.openclassrooms.com/informatique/cours/programmez-avec-le-langage-c}
\item cplusplus.com \url{http://www.cplusplus.com/doc/tutorial/}
\end{itemize}
\end{frame}
\end{document}