Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ashok Kumar, Bharath
so2021
Commits
4a353d2b
Commit
4a353d2b
authored
Apr 05, 2020
by
Praetorius, Simon
Browse files
Merge branch 'patch-10' into 'master'
Update 06_arrays.tex See merge request teaching/scprog/wi2019!68
parents
8ee439f7
6f7dbf73
Changes
1
Hide whitespace changes
Inline
Side-by-side
lecture/06_arrays.tex
View file @
4a353d2b
...
...
@@ -51,7 +51,7 @@ double A[2][3] =
Example:
\cppline
{
int foo[5]
{
1,2,3
}
; // [1,2,3,0,0]
}
(The assignment operator ``
\cpp
{
=
}
'' is here replaced by
\textit
{
u
nivers
elle
Initiali
sierung
}
.)
(The assignment operator ``
\cpp
{
=
}
'' is here replaced by
\textit
{
U
nivers
al
Initiali
zation
}
.)
\end{rem}
A multi-dimensional array can be written with a one-dimensional initializer-list. In that case, the initialization happens arrays-wise.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment