Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
hp
Commits
bf4eab56
Commit
bf4eab56
authored
Nov 14, 2019
by
Peter Gerwinski
Browse files
Options
Downloads
Patches
Plain Diff
Beispiel-Programm Übungsaufgaben 14.11.2019
parent
b488a9d8
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
20191114/aufgabe-2.c
+18
-0
18 additions, 0 deletions
20191114/aufgabe-2.c
20191114/hp-uebung-20191117.pdf
+0
-0
0 additions, 0 deletions
20191114/hp-uebung-20191117.pdf
20191114/hp-uebung-20191117.tex
+1
-1
1 addition, 1 deletion
20191114/hp-uebung-20191117.tex
with
19 additions
and
1 deletion
20191114/aufgabe-2.c
0 → 100644
+
18
−
0
View file @
bf4eab56
#include
<stdio.h>
#include
<string.h>
void
insert_into_string
(
char
src
,
char
*
target
,
int
pos
)
{
int
len
=
strlen
(
target
);
for
(
int
i
=
pos
;
i
<
len
;
i
++
)
target
[
i
+
1
]
=
target
[
i
];
target
[
pos
]
=
src
;
}
int
main
(
void
)
{
char
test
[
100
]
=
"Hochshule Bochum"
;
insert_into_string
(
'c'
,
test
,
5
);
printf
(
"%s
\n
"
,
test
);
return
0
;
}
This diff is collapsed.
Click to expand it.
20191114/hp-uebung-20191117.pdf
+
0
−
0
View file @
bf4eab56
No preview for this file type
This diff is collapsed.
Click to expand it.
20191114/hp-uebung-20191117.tex
+
1
−
1
View file @
bf4eab56
...
@@ -170,7 +170,7 @@
...
@@ -170,7 +170,7 @@
\points
{
3
}
\points
{
3
}
\end{itemize}
\end{itemize}
Wir betrachten nun die folgenden Funktionen (Datei:
\gitfile
{
hp
}{
201
8
11
05
}{
aufgabe-3.c
}
):
Wir betrachten nun die folgenden Funktionen (Datei:
\gitfile
{
hp
}{
201
9
11
14
}{
aufgabe-3.c
}
):
\begin{center}
\begin{center}
\begin{minipage}
{
8cm
}
\begin{minipage}
{
8cm
}
\begin{lstlisting}
[gobble=8]
\begin{lstlisting}
[gobble=8]
...
...
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