diff --git a/Makefile b/Makefile index 473c075..a142d67 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index 57caf9a..070f7bb 100644 --- a/README.md +++ b/README.md @@ -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/) και τα θέματα εξετάσεων και τις εργασίες προηγούμενων ετών. Οι ασκήσεις έχουν υποδείξεις αλλά όχι λύσεις. diff --git a/chapters/12-pointers-arrays/README.md b/chapters/12-pointers-arrays/README.md index fab495e..6f1056d 100644 --- a/chapters/12-pointers-arrays/README.md +++ b/chapters/12-pointers-arrays/README.md @@ -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] @@ -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), diff --git a/questions/slides/slides-lec12-2d-element.md b/questions/slides/slides-lec12-2d-element.md index 7141fd1..16a39d8 100644 --- a/questions/slides/slides-lec12-2d-element.md +++ b/questions/slides/slides-lec12-2d-element.md @@ -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 diff --git a/questions/slides/slides-lec12-array-of-pointers.md b/questions/slides/slides-lec12-array-of-pointers.md index f01ac8a..47a8f7e 100644 --- a/questions/slides/slides-lec12-array-of-pointers.md +++ b/questions/slides/slides-lec12-array-of-pointers.md @@ -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 diff --git a/questions/slides/slides-lec12-endianness.md b/questions/slides/slides-lec12-endianness.md index 34fb6d4..a04accc 100644 --- a/questions/slides/slides-lec12-endianness.md +++ b/questions/slides/slides-lec12-endianness.md @@ -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 diff --git a/questions/slides/slides-lec12-malloc-sizeof.md b/questions/slides/slides-lec12-malloc-sizeof.md index b5e6b1b..45faa30 100644 --- a/questions/slides/slides-lec12-malloc-sizeof.md +++ b/questions/slides/slides-lec12-malloc-sizeof.md @@ -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 diff --git a/questions/slides/slides-lec12-multidim-necessary.md b/questions/slides/slides-lec12-multidim-necessary.md index ff8ce09..fa61b49 100644 --- a/questions/slides/slides-lec12-multidim-necessary.md +++ b/questions/slides/slides-lec12-multidim-necessary.md @@ -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 diff --git a/questions/slides/slides-lec12-pointer-copy-loop.md b/questions/slides/slides-lec12-pointer-copy-loop.md index 031a0bd..04991ca 100644 --- a/questions/slides/slides-lec12-pointer-copy-loop.md +++ b/questions/slides/slides-lec12-pointer-copy-loop.md @@ -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 diff --git a/questions/slides/slides-lec12-pointer-to-pointer.md b/questions/slides/slides-lec12-pointer-to-pointer.md index 97cab5e..e5028b6 100644 --- a/questions/slides/slides-lec12-pointer-to-pointer.md +++ b/questions/slides/slides-lec12-pointer-to-pointer.md @@ -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 diff --git a/sources/extract/lec12.yaml b/sources/extract/lec12.yaml index 6f4f0fb..644bbc9 100644 --- a/sources/extract/lec12.yaml +++ b/sources/extract/lec12.yaml @@ -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: "Δισδιάστατοι πίνακες"} @@ -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." diff --git a/sources/manifest.yaml b/sources/manifest.yaml index 977896d..d35b0d5 100644 --- a/sources/manifest.yaml +++ b/sources/manifest.yaml @@ -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: []}