Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CplusplusCourse - outdated
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Sebastien Ponce
CplusplusCourse - outdated
Commits
1ac29b3e
Commit
1ac29b3e
authored
4 years ago
by
Sebastien Ponce
Browse files
Options
Downloads
Patches
Plain Diff
Tiny fixes found while reading back course for Jan 21 HEP edition of the course
parent
60d165f8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
talk/C++Course.tex
+1
-1
1 addition, 1 deletion
talk/C++Course.tex
talk/basicconcepts.tex
+1
-2
1 addition, 2 deletions
talk/basicconcepts.tex
talk/introduction.tex
+1
-1
1 addition, 1 deletion
talk/introduction.tex
talk/morelanguage.tex
+3
-1
3 additions, 1 deletion
talk/morelanguage.tex
with
6 additions
and
5 deletions
talk/C++Course.tex
+
1
−
1
View file @
1ac29b3e
...
...
@@ -279,7 +279,7 @@
\item
It is not complete at all (would need 3 weeks...)
\begin{itemize}
\item
although is it already too long for the time we have
\item
\inserttotalframenumber
{}
slides,
\insertpresentationendpage
{}
pages, 1
5
exercises...
\item
\inserttotalframenumber
{}
slides,
\insertpresentationendpage
{}
pages, 1
6
exercises...
\end{itemize}
\end{itemize}
\end{block}
...
...
This diff is collapsed.
Click to expand it.
talk/basicconcepts.tex
+
1
−
2
View file @
1ac29b3e
...
...
@@ -400,8 +400,7 @@
student.weight = 78.5;
Individual teacher =
{
.age = 45,
.weight=67
45, 67
}
;
\end{cppcode*}
\columnbreak
...
...
This diff is collapsed.
Click to expand it.
talk/introduction.tex
+
1
−
1
View file @
1ac29b3e
...
...
@@ -73,7 +73,7 @@
\item
Both C and
\cpp
are born in Bell Labs
\item
\cpp
{
\it
almost
}
embeds C
\item
C and
\cpp
are still under development
\item
We will discuss all
\cpp
specs
\item
We will discuss all
\cpp
specs
but
\cpp
20
\item
Each slide will be marked with first spec introducting the feature
}
\end{itemize}
...
...
This diff is collapsed.
Click to expand it.
talk/morelanguage.tex
+
3
−
1
View file @
1ac29b3e
...
...
@@ -1677,9 +1677,11 @@ of 'std::unique_ptr<Foo>'
\item
go to code/smartPointers
\item
compile and run the program. It doesn't generate any output.
\item
Run with valgrind to check for leaks
\begin{minted}
{
shell-session
}
{
\scriptsize
\begin{minted}
[gobble=6]
{
shell-session
}
$
valgrind
--
leak
-
check
=
full
--
track
-
origins
=
yes .
/
smartPointers
\end
{
minted
}
}
\item
Go through
{
\ttfamily
problem
1
()
}
to
{
\ttfamily
problem
3
()
}
and fix the leaks using smart pointers.
\item
{
\ttfamily
problem
4
()
}
is the most difficult. Skip if not enough time.
\end
{
itemize
}
...
...
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