Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ $(BUILD)/llms.txt: $(CHAPTERS) glossary.md $(BUILD)/questions.md tools/llms.py t
.PHONY: all fetch lint check-code exercises check clean
fetch:
mkdir -p sources/slides/2026 sources/hw/2023 sources/hw/2024 sources/hw/2025
for f in lec00 lec01 lec02 lec03 lec04 lec05 lec06 lec07 lec08 lec09 lec10 lec11; do curl -fsSL -o sources/slides/2026/$$f.pdf https://progintro.github.io/assets/pdf/$$f.pdf; done
for f in lec00 lec01 lec02 lec03 lec04 lec05 lec06 lec07 lec08 lec09 lec10 lec11 lec12; do curl -fsSL -o sources/slides/2026/$$f.pdf https://progintro.github.io/assets/pdf/$$f.pdf; done
gh release download 2025 -R $(REPO) -D sources/slides -p 'lec*.pdf' -p make.pdf --skip-existing
gh release download 2025 -R $(REPO) -D sources/hw/2025 -p 'hw*.pdf' -p stergios.pdf --skip-existing
gh release download 2024 -R $(REPO) -D sources/hw/2024 -p 'hw*.pdf' --skip-existing
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ chatbot ή agent το [`llms-full.txt`](llms-full.txt) (όλος ο οδηγός

Ο οδηγός γράφτηκε από τις διαφάνειες των διαλέξεων του 2025-26
([progintro.github.io](https://progintro.github.io/)) και ενημερώνεται με τις διαφάνειες
του 2026-27 καθώς δημοσιεύονται (ως τώρα: Διαλέξεις 0–11), τις
του 2026-27 καθώς δημοσιεύονται (ως τώρα: Διαλέξεις 0–12), τις
[σημειώσεις](https://progintro.github.io/notes/) του μαθήματος, τα
[εργαστήρια](https://progintro.github.io/lab-material/) και τα θέματα εξετάσεων και τις
εργασίες προηγούμενων ετών. Οι ασκήσεις έχουν υποδείξεις αλλά όχι λύσεις.
Expand Down
9 changes: 5 additions & 4 deletions chapters/12-pointers-arrays/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ layout: chapter
chapter: 12
lecture: 12
title: "Δείκτες και Πίνακες"
date: 2025-11-10
date: 2026-11-09
part: C
slides: https://github.com/progintro/progintro.github.io/releases/download/2025/lec12.pdf
slides: https://progintro.github.io/assets/pdf/lec12.pdf
prev: 11-pointers-recursion
next: 13-memory
topics: [arrays, multidim-arrays, pointers, pointer-arithmetic, command-line-args, dynamic-memory, memory-model]
Expand Down Expand Up @@ -516,10 +516,11 @@ $ ./int

## Διάβασμα

- **Διαφάνειες:** [Διάλεξη 12](https://github.com/progintro/progintro.github.io/releases/download/2025/lec12.pdf),
- **Διαφάνειες:** [Διάλεξη 12](https://progintro.github.io/assets/pdf/lec12.pdf) (2026-27),
σελ. 1–45: μονοδιάστατοι πίνακες 5–10· δισδιάστατοι 11–22· πολυδιάστατοι 23·
δείκτες σε δείκτες 24–28· πίνακες από δείκτες και `argv` 29–35· `malloc` 36–40·
endianness 41–43.
endianness 41–43. Οι διαφάνειες του 2025-26 έχουν την ίδια αρίθμηση:
[Διάλεξη 12 (2025)](https://github.com/progintro/progintro.github.io/releases/download/2025/lec12.pdf).
- **Σημειώσεις:** η διάλεξη ζητά να διαβάσετε τις σελ. 73–103:
- [Κεφάλαιο 5](https://progintro.github.io/notes/chapters/05-pointers-arrays/):
«Δείκτες» (K04, σελ. 72–77), «Περί ανάγνωσης ακεραίων (και όχι μόνο)» (78–79),
Expand Down
4 changes: 2 additions & 2 deletions questions/slides/slides-lec12-2d-element.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ kind: slides
title: "Στοιχείο δισδιάστατου πίνακα"
source:
title: "Διάλεξη 12, διαφάνεια 14"
url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec12.pdf
years: [2025]
url: https://progintro.github.io/assets/pdf/lec12.pdf
years: [2025, 2026]
chapters: [12]
topics: [multidim-arrays, arrays]
difficulty: 1
Expand Down
4 changes: 2 additions & 2 deletions questions/slides/slides-lec12-array-of-pointers.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ kind: slides
title: "Πίνακας από δείκτες"
source:
title: "Διάλεξη 12, διαφάνεια 29"
url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec12.pdf
years: [2025]
url: https://progintro.github.io/assets/pdf/lec12.pdf
years: [2025, 2026]
chapters: [12]
topics: [pointers, arrays]
difficulty: 1
Expand Down
4 changes: 2 additions & 2 deletions questions/slides/slides-lec12-endianness.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ kind: slides
title: "Παράδειγμα endianness"
source:
title: "Διάλεξη 12, διαφάνεια 42"
url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec12.pdf
years: [2025]
url: https://progintro.github.io/assets/pdf/lec12.pdf
years: [2025, 2026]
chapters: [12, 13]
topics: [memory-model, pointers, integer-representation]
difficulty: 2
Expand Down
4 changes: 2 additions & 2 deletions questions/slides/slides-lec12-malloc-sizeof.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ kind: slides
title: "Πόση μνήμη δεσμεύει η malloc και τι λέει το sizeof"
source:
title: "Διάλεξη 12, διαφάνειες 39–40"
url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec12.pdf
years: [2025]
url: https://progintro.github.io/assets/pdf/lec12.pdf
years: [2025, 2026]
chapters: [12, 13]
topics: [dynamic-memory, pointers, types]
difficulty: 2
Expand Down
4 changes: 2 additions & 2 deletions questions/slides/slides-lec12-multidim-necessary.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ kind: slides
title: "Είναι απαραίτητοι οι πολυδιάστατοι πίνακες;"
source:
title: "Διάλεξη 12, διαφάνεια 23"
url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec12.pdf
years: [2025]
url: https://progintro.github.io/assets/pdf/lec12.pdf
years: [2025, 2026]
chapters: [12]
topics: [multidim-arrays, arrays, memory-model]
difficulty: 2
Expand Down
4 changes: 2 additions & 2 deletions questions/slides/slides-lec12-pointer-copy-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ kind: slides
title: "Περιεχόμενα του x μετά από βρόχο με δείκτη"
source:
title: "Διάλεξη 12, διαφάνεια 25"
url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec12.pdf
years: [2025]
url: https://progintro.github.io/assets/pdf/lec12.pdf
years: [2025, 2026]
chapters: [12, 11]
topics: [pointer-arithmetic, pointers, arrays]
difficulty: 2
Expand Down
4 changes: 2 additions & 2 deletions questions/slides/slides-lec12-pointer-to-pointer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ kind: slides
title: "Δείκτης σε δείκτη"
source:
title: "Διάλεξη 12, διαφάνεια 27"
url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec12.pdf
years: [2025]
url: https://progintro.github.io/assets/pdf/lec12.pdf
years: [2025, 2026]
chapters: [12]
topics: [pointers, memory-model]
difficulty: 1
Expand Down
5 changes: 4 additions & 1 deletion sources/extract/lec12.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
lecture: 12
year: 2026-27 # updated from the 2025-26 deck (45 pages) on 2026-11-09; same page numbers
slides: https://progintro.github.io/assets/pdf/lec12.pdf
pages: 45
outline:
- {pages: "1", section: "(τίτλος)"}
- {pages: "2", section: "(ανακοινώσεις: Εργασία #1, «Πράξεις με δείκτες»)"}
- {pages: "2", section: "(ανακοινώσεις: «Πράξεις με δείκτες»· το 2025-26 και η Εργασία #1)"}
- {pages: "3-4", section: "(προηγούμενη φορά / σήμερα)"}
- {pages: "5-10", section: "Ο πίνακας στη μνήμη"}
- {pages: "11-14", section: "Δισδιάστατοι πίνακες"}
Expand All @@ -23,6 +25,7 @@ pointers:
- {page: 44, text: "Endianness: https://en.wikipedia.org/wiki/Endianness"}
takeaways_slide: null # p. 44 is a reading assignment, not a takeaways slide
issues:
- "2026-27 deck vs 2025-26 (both 45 pages, same page numbers, no content changes). p. 2 drops the 2025-26 Εργασία #1 announcement and keeps only «Πράξεις με δείκτες»; p. 3 adds a painting caption. The p. 2 issue below describes the 2025-26 deck."
- "p. 2: announcement 'Η Εργασία #1 μόλις βγήκε! Προθεσμία: Τετάρτη, 10 Δεκέμβρη 23:59' (course policy, not put in the chapter); the second bullet 'Πράξεις με δείκτες' is a bare clarification heading with no content on the slide."
- "p. 44 is a 'Για την επόμενη φορά' slide (reading assignment + link), not an explicit key-takeaways slide; Κύρια σημεία were derived from the lecture content."
- "p. 6-10: the 1D memory diagram places bears[0] at bytes 4-7 (array occupies 4-403), consistent with the callout on p. 10; kept as is."
Expand Down
2 changes: 1 addition & 1 deletion sources/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ lectures:
- {n: 9, slug: 09-input, date: 2026-10-30, part: B, slides: lec09.pdf, url: "https://progintro.github.io/assets/pdf/lec09.pdf", title: "Δεδομένα Εισόδου", notes: [01-first-programs, 09-io], labs: [lab04]}
- {n: 10, slug: 10-arrays, date: 2026-11-02, part: C, slides: lec10.pdf, url: "https://progintro.github.io/assets/pdf/lec10.pdf", title: "Πίνακες", notes: [05-pointers-arrays], labs: [lab06]}
- {n: 11, slug: 11-pointers-recursion, date: 2026-11-06, part: C, slides: lec11.pdf, url: "https://progintro.github.io/assets/pdf/lec11.pdf", title: "Δείκτες και Αναδρομή", notes: [04-functions, 05-pointers-arrays], labs: [lab05, lab06]}
- {n: 12, slug: 12-pointers-arrays, date: 2025-11-10, part: C, slides: lec12.pdf, title: "Δείκτες και Πίνακες", notes: [05-pointers-arrays], labs: [lab06]}
- {n: 12, slug: 12-pointers-arrays, date: 2026-11-09, part: C, slides: lec12.pdf, url: "https://progintro.github.io/assets/pdf/lec12.pdf", title: "Δείκτες και Πίνακες", notes: [05-pointers-arrays], labs: [lab06]}
- {n: 13, slug: 13-memory, date: 2025-11-14, part: C, slides: lec13.pdf, title: "Μνήμη", notes: [06-memory-strings], labs: [lab07]}
- {n: 14, slug: 14-scope-strings, date: 2025-11-21, part: C, slides: lec14.pdf, title: "Εμβέλεια, Μνήμη και Συμβολοσειρές", notes: [04-functions, 06-memory-strings], labs: [lab08]}
- {n: 15, slug: 15-complexity-preprocessor, date: 2025-11-24, part: C, slides: lec15.pdf, title: "Πολυπλοκότητα και Προεπεξεργαστής", notes: [10-preprocessor, 11-sorting-searching], labs: []}
Expand Down
Loading