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
6f7dbf73
Commit
6f7dbf73
authored
Mar 02, 2020
by
Kulkarni, Apurv
Browse files
Update 06_arrays.tex
Line54: Universal Initialization
parent
97aa1d3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lecture/06_arrays.tex
View file @
6f7dbf73
...
...
@@ -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