add more content for sp1 tutorium
This commit is contained in:
parent
748ff6d52d
commit
4bd9aec6b9
3 changed files with 60 additions and 25 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "main page"
|
title: "nova's website :)"
|
||||||
layout: base.njk
|
layout: base.njk
|
||||||
---
|
---
|
||||||
<main>
|
<main>
|
||||||
|
|
@ -7,7 +7,7 @@ layout: base.njk
|
||||||
{{ title }}
|
{{ title }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
<p>Currently i only use this website to host content for my systems proramming totrium</p>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{% include "src/_includes/partials/blob.html" %}
|
{% include "src/_includes/partials/blob.html" %}
|
||||||
|
|
@ -4,13 +4,20 @@ layout: blog-page.njk
|
||||||
page_for: "sp1-lesson"
|
page_for: "sp1-lesson"
|
||||||
---
|
---
|
||||||
## Meine Übungen
|
## Meine Übungen
|
||||||
- Tafelübung (T02) Montags 14:15 - 15:45 im <a class="link" href="https://www.campo.fau.de:443/qisserver/pages/startFlow.xhtml?_flowId=showRoomDetail-flow&roomId=788&roomType=3&context=showRoomDetail&navigationPosition=organisation,searchroom">Seminarraum 0.031-113</a>
|
- Tafelübung (T02) Montags 14:15 - 15:45 im [Seminarraum 0.031-113](https://www.campo.fau.de:443/qisserver/pages/startFlow.xhtml?_flowId=showRoomDetail-flow&roomId=788&roomType=3&context=showRoomDetail&navigationPosition=organisation,searchroom)
|
||||||
- Rechnerübung Donnerstags 16:15 - 18:45 im <a class="link" href="https://www.campo.fau.de/qisserver/pages/startFlow.xhtml?_flowId=showRoomDetail-flow&roomId=3349&roomType=3&context=showRoomDetail&navigationPosition=organisation,searchroom">CIP1</a>
|
- Rechnerübung Donnerstags 16:15 - 18:45 im [CIP1](https://www.campo.fau.de/qisserver/pages/startFlow.xhtml?_flowId=showRoomDetail-flow&roomId=3349&roomType=3&context=showRoomDetail&navigationPosition=organisation,searchroom)
|
||||||
|
|
||||||
## Wichtige Infos
|
## Wichtige Infos
|
||||||
- Unter <code class="inline language-bash">/proj/i4sp1/bin/</code> im CIP finden sich nützliche SP1-related Programme und scripts, wie
|
- Unter `/proj/i4sp1/bin/` im CIP finden sich nützliche SP1-related Programme und scripts, wie
|
||||||
- <code class="inline language-bash">mkrepo</code> zum Aufgaben-Repo erstellen
|
- `mkrepo` zum Aufgaben-Repo erstellen
|
||||||
- <code class="inline language-bash">deadline</code> zum Abgabetermine nachschauen
|
- `deadline` zum Abgabetermine nachschauen
|
||||||
|
- Vorgegebene Compiler-Flags: `-std=c11 -pedantic -D_XOPEN_SOURCE=700 -Wall -Werror -fsanitize=undefined -fno-sanitize-recover -g`
|
||||||
|
|
||||||
|
## Wichtige Links
|
||||||
|
- [Aufgaben](https://sys.cs.fau.de/lehre/ss25/sp1/uebung#aufgaben)
|
||||||
|
- [Korrekturhinweise](https://sys.cs.fau.de/lehre/ss25/sp1/uebung#korrekturhinweise)
|
||||||
|
- [Terminplan](https://sys.cs.fau.de/lehre/ss25/sp1/semesterplan#mo)
|
||||||
|
- [FAU Gitlab](https://gitlab.cs.fau.de/)
|
||||||
|
|
||||||
## Übungen
|
## Übungen
|
||||||
<ul>
|
<ul>
|
||||||
|
|
@ -19,16 +26,15 @@ page_for: "sp1-lesson"
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
## Kontaktmöglichkeiten/Fragen
|
## Kontakt/Fragen
|
||||||
- Mailinglisten: <a href="mailto:i4sp@cs.fau.de" class="link">i4sp@cs.fau.de</a> (Stoffliches) oder <a href="mailto:i4sp-orga@cs.fau.de" class="link">i4sp-orga@cs.fau.de</a> (Organisatorisches)
|
- Bei Fragen könnt ihr immer in eine Rechnerübung kommen oder auch im [FSI-Forum](https://fsi.cs.fau.de/forum/18) nachschauen
|
||||||
- Mich persönlich erreicht ihr unter <a href="mailto:nova.ruff@fau.de" class="link">nova.ruff@fau.de</a>
|
- Mail an alle Tutoren: <a href="mailto:i4sp@cs.fau.de" class="link">i4sp@cs.fau.de</a> (Stoffliches)
|
||||||
- Bei Fragen könnt ihr immer in eine Rechnerübung kommen und auch im <a href="https://sys.cs.fau.de/lehre/ss25/sp1/faq" class="link">FAQ</a> oder dem <a href="https://fsi.cs.fau.de/pruefungen/bachelor#systemprogrammierung" class="link">FSI-Forum</a> nachschauen
|
- Mail an die Orga: <a href="mailto:i4sp-orga@cs.fau.de" class="link">i4sp-orga@cs.fau.de</a> (Organisatorisches)
|
||||||
|
- Mail an mich: <a href="mailto:nova.ruff@fau.de" class="link">nova.ruff@fau.de</a>
|
||||||
|
- [SP-FAQ](https://sys.cs.fau.de/lehre/ss25/sp1/faq)
|
||||||
|
|
||||||
|
|
||||||
## Weitere Links
|
## Weitere Links
|
||||||
<ul>
|
- [SP1 Website](https://sys.cs.fau.de/lehre/ss25/sp1)
|
||||||
<li><a href="https://sys.cs.fau.de/lehre/ss25/sp1" class="link">SP1 Website</a></li>
|
- [Julian (T08)](https://jzbor.de/tut/sp1/)
|
||||||
<li><a href="https://jzbor.de/tut/sp1/" class="link">Julian (T08)</a>
|
- [Philip (ehemalig)](https://wwwcip.cs.fau.de/~oj14ozun/sp1/)
|
||||||
<li><a href="https://wwwcip.cs.fau.de/~oj14ozun/sp1" class="link">Philip (ehemailg)</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,43 @@
|
||||||
---
|
---
|
||||||
title: "Übung 01"
|
title: "Übung 01 - Speicherverwaltung"
|
||||||
layout: "blog-post.njk"
|
layout: "blog-post.njk"
|
||||||
tags: "sp1-lesson"
|
tags: "sp1-lesson"
|
||||||
date: 2025-04-04
|
date: 2025-05-04
|
||||||
---
|
---
|
||||||
Erste Übung :)
|
## Manual-Pages
|
||||||
test
|
Mit dem Programm `man` kann die Dokumentation von verschiedenen Bibliotheksfunktionen nachgelesen werden: `man 3p printf`
|
||||||
# meow
|
|
||||||
|
## Workflow mit git
|
||||||
|
- `git clone [URL]` - Remote Repo lokal herunterladen
|
||||||
|
- `git pull` - Neuester Stand eines Repos herunterladen
|
||||||
|
- `git status` - Mehr infos über das Repo bekommen
|
||||||
|
- `git add [FILE]` - Änderungen zu stagen
|
||||||
|
- `git diff --staged .` - Staged Änderungen nachvollziehen
|
||||||
|
- `git commit -m "[COMMMIT_MESSAGE]"` - Änderungen zu dem Repo committen
|
||||||
|
- `git push` - Neue Commits an das remote Repo kommunizieren (**wichtig zur Übungsabgabe**)
|
||||||
|
|
||||||
|
## Beispiel Program aus der Präsenzübung
|
||||||
```c
|
```c
|
||||||
public static void main(int argc, char argv[]) {
|
#include <stdio.h>
|
||||||
exit();
|
#include <string.h>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[]) {
|
||||||
|
// using strlen()
|
||||||
|
for (int i = 1; i < argc; i++) {
|
||||||
|
char *curr_arg = argv[i];
|
||||||
|
for (int l = 0; l < strlen(curr_arg); l++) {
|
||||||
|
printf("%c\n", curr_arg[l]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// alternative
|
||||||
|
for (int i = 1; i < argc; i++) {
|
||||||
|
char *curr_arg = argv[i];
|
||||||
|
int l = 0;
|
||||||
|
while (curr_arg[l] != '\0') {
|
||||||
|
printf("%c\n", curr_arg[l]);
|
||||||
|
l++;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Loading…
Add table
Reference in a new issue