Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ad
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Gerwinski
ad
Commits
4d8d84da
Commit
4d8d84da
authored
Jun 27, 2024
by
Peter Gerwinski
Browse files
Options
Downloads
Patches
Plain Diff
Vorbereitung 27.6.2024
parent
61a41ce2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
20240627/ad-20240627.pdf
+0
-0
0 additions, 0 deletions
20240627/ad-20240627.pdf
20240627/ad-20240627.tex
+90
-48
90 additions, 48 deletions
20240627/ad-20240627.tex
with
90 additions
and
48 deletions
20240627/ad-20240627.pdf
+
0
−
0
View file @
4d8d84da
No preview for this file type
This diff is collapsed.
Click to expand it.
20240627/ad-20240627.tex
+
90
−
48
View file @
4d8d84da
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
% Attribution-ShareAlike 3.0 Unported License along with this
% Attribution-ShareAlike 3.0 Unported License along with this
% document. If not, see <http://creativecommons.org/licenses/>.
% document. If not, see <http://creativecommons.org/licenses/>.
% README: Einführung in C++
% README: Einführung in C++
, Datenorganisation
\documentclass
[10pt,t]
{
beamer
}
\documentclass
[10pt,t]
{
beamer
}
...
@@ -59,15 +59,14 @@
...
@@ -59,15 +59,14 @@
\item
[\textbf{3}]
\textbf
{
Langzahl-Arithmetik
}
\item
[\textbf{3}]
\textbf
{
Langzahl-Arithmetik
}
\item
[\textbf{4}]
\textbf
{
Kryptographie
}
\item
[\textbf{4}]
\textbf
{
Kryptographie
}
\item
[\textbf{5}]
\textbf
{
Datenkompression
}
\item
[\textbf{5}]
\textbf
{
Datenkompression
}
\item
[\color{orange}\textbf{6}]
\textbf
{
\color
{
orange
}
Einführung in C++
}
\item
[\color{orange}\textbf{6}]
\textbf
{
\color
{
orange
}
Einführung in C++, Datenorganisation
}
\item
[\color{red}\textbf{7}]
\textbf
{
\color
{
red
}
Datenorganisation
}
\item
[\color{red}\textbf{7}]
\textbf
{
\color
{
red
}
Hardwarenahe Algorithmen
}
\item
[\textbf{8}]
\textbf
{
Hardwarenahe Algorithmen
}
\end{itemize}
\end{itemize}
\end{frame}
\end{frame}
\setcounter
{
section
}{
5
}
\setcounter
{
section
}{
5
}
\section
{
Einführung in C++
}
\section
{
Einführung in C++
, Datenorganisation
}
\addtocounter
{
subsection
}{
-1
}
\addtocounter
{
subsection
}{
-1
}
\subsection
{
Was ist C?
}
\subsection
{
Was ist C?
}
...
@@ -701,57 +700,100 @@
...
@@ -701,57 +700,100 @@
\end{itemize}
\end{itemize}
\end{frame}
\end{frame}
\iffalse
\begin{frame}
[fragile]
\showsubsection
\nosectionnonumber
{
\inserttitle
}
\url
{
http://www.cplusplus.com/doc/tutorial/typecasting/
}
\begin{frame}
\begin{itemize}
\item
\lstinline
{
dynamic
_
cast<>()
}
\\
Zuweisung: Zeiger auf Basisklasse an Zeiger auf abgeleitete Klasse
\\
explizite Typumwandlung mit Prüfung, ggf.
\
Exception
\smallskip
\item
\lstinline
{
static
_
cast<>()
}
\\
Zuweisung: Zeiger auf Basisklasse an Zeiger auf abgeleitete Klasse
\\
explizite Typumwandlung ohne Prüfung
\smallskip
\item
\lstinline
{
reinterpret
_
cast<>()
}
\\
Typumwandlung ohne Prüfung zwischen Zeigern untereinander
\\
und zwischen Zeigern und Integer-Typen
\smallskip
\item
\lstinline
{
const
_
cast<>()
}
\\
"`
\lstinline
{
const
}
"' ein- bzw.
\
ausschalten
\end{itemize}
\end{frame}
\shownosectionnonumb
er
\subsection
{
Intelligente Zeig
er
}
\begin{frame}
[fragile]
\showsubsection
\textbf
{
Warum?
}
\begin{itemize}
\begin{itemize}
\item
[\textbf{1}]
\textbf
{
Einführung
}
\item
\underconstruction
bereits freigegebene Zeiger werden u.
\,
U.
\
weiterhin verwendet
\hfill\makebox
(0,0)[br]
{
\raisebox
{
2.25ex
}{
\url
{
https://gitlab.cvh-server.de/pgerwinski/ad.git
}}}
\item
\item
[\textbf{2}]
\textbf
{
Einführung in C++
}
Speicherlecks
\item
uninitialisierte Zeiger
\end{itemize}
\medskip
\begin{itemize}
\begin{itemize}
\vspace*
{
-
\smallskipamount
}
\item
\item
[\dots]
\lstinline
{
shared
_
ptr
}
\item
[2.6]
Namensräume
\item
\color
{
medgreen
}
\lstinline
{
weak
_
ptr
}
\item
[2.7]
Objekte
\item
\item
[2.8]
Strings
\lstinline
{
unique
_
ptr
}
\item
[2.9]
Templates
\item
\item
[2.10]
Exceptions
\lstinline
{
move()
}
\color
{
red
}
\item
[2.11]
Typ-Konversionen
\item
[2.12]
Container-Templates
\item
[2.13]
Iteratoren
\end{itemize}
\end{itemize}
\item
[\textbf{3}]
\textbf
{
Datenorganisation
}
\end{frame}
% \begin{itemize}
% \item Listen, Bäume, Hash-Tabellen, \dots
\begin{frame}
[fragile]
% \end{itemize}
\showsubsection
\item
[\textbf{4}]
\textbf
{
Datenkodierung
}
% \begin{itemize}
\textbf
{
Wie?
}
% \item Fehlererkennung und -korrektur
\begin{itemize}
% \item Kompression
\item
% \item Kryptographie
R-Wert-Referenztypen:
\lstinline
{&&}
% \end{itemize}
\item
\item
[\textbf{5}]
\textbf
{
Hardwarenahe Algorithmen
}
\lstinline
{
move()
}
-Funktion
% \begin{itemize}
% \item FFT, CORDIC, \dots
% \end{itemize}
\item
[\textbf{6}]
\textbf
{
Optimierung
}
% \begin{itemize}
% \item Wegfindung, \dots
% \end{itemize}
\color
{
gray
}
\item
[\textbf{7}]
\textbf
{
Numerik
}
\end{itemize}
\end{itemize}
\bigskip
Literatur:
\begin{itemize}
\item
\url
{
http://thbecker.net/articles/rvalue
_
references/section
_
01.html
}
\item
\url
{
http://www.artima.com/cppsource/rvalue.html
}
\end{itemize}
\end{frame}
\end{frame}
\fi
\section
{
Hardwarenahe Algorithmen
}
\begin{frame}
\showsection
\textbf
{
Aufgabe:
}
Schreiben Sie die Sinusfunktion selbst.
\smallskip
\begin{itemize}
\item
Wir setzen nur die Grundrechenarten voraus.
\item
möglichst effizient
\end{itemize}
\end{frame}
\end{document}
\end{document}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment