Skip to content

Update #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 15, 2020
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
6 changes: 3 additions & 3 deletions module1/presentation_homework.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ ___

## Zadanie 4

Napisz klasę `Map`, która będzie posiadała `std::vector<Island&>` przechowujący wszystkie wyspy na mapie, oraz zmienną `Island* currentPosition_` określającą aktualną pozycję gracza na mapie.
Napisz klasę `Map`, która będzie posiadała `std::vector<Island>` przechowujący wszystkie wyspy na mapie, oraz zmienną `Island* currentPosition_` określającą aktualną pozycję gracza na mapie.

___

## Zadanie 5

W klasie `Map` utwórz konstruktor bezargumentowy, a w jego ciele utwórz 10 wysp, które przechowasz w `std::vector<Island&>`.
W klasie `Map` utwórz konstruktor bezargumentowy, a w jego ciele utwórz 10 wysp, które przechowasz w `std::vector<Island>`.
Do wygenerowania losowych wartości pozycji wysp na mapie skorzystaj z [przykładu na cppreference](https://en.cppreference.com/w/cpp/numeric/random/uniform_int_distribution).
Wymyśl sposób, aby pozycje wysp się nie powielały.

Expand All @@ -120,7 +120,7 @@ W klasie `Map` napisz funkcję

`Island* getIsland(const Island::Coordinates& coordinate)`

Powinna ona przeszukać `std::vector<Island&>` i zwrócić szukaną wyspę.
Powinna ona przeszukać `std::vector<Island>` i zwrócić szukaną wyspę.

___

Expand Down
46 changes: 29 additions & 17 deletions module2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,15 @@ <h3>Łukasz Ziobroń</h3>

## Agenda

operatory, dziedziczenie, wielodziedziczenie, polimorfizm, funkcje wirtualne

1. <!-- .element: class="fragment fade-in" --> Omówienie problemów, przykładowe rozwiązania.
2. <!-- .element: class="fragment fade-in" --> obiekty
3. <!-- .element: class="fragment fade-in" --> pola, właściwości
4. <!-- .element: class="fragment fade-in" --> metody, funkcje klasy
5. <!-- .element: class="fragment fade-in" --> modyfikatory dostępu - <code>public</code>, <code>private</code>
6. <!-- .element: class="fragment fade-in" --> konstruktory
7. <!-- .element: class="fragment fade-in" --> destruktory
8. <!-- .element: class="fragment fade-in" --> hermetyzacja
9. <!-- .element: class="fragment fade-in" --> gettery
10. <!-- .element: class="fragment fade-in" --> settery

1. <!-- .element: class="fragment fade-in" --> dziedziczenie
2. <!-- .element: class="fragment fade-in" --> wielodziedziczenie
3. <!-- .element: class="fragment fade-in" --> funkcje wirtualne
4. <!-- .element: class="fragment fade-in" --> funkcje czysto wirtualne
5. <!-- .element: class="fragment fade-in" --> klasy abstrakcyjne
6. <!-- .element: class="fragment fade-in" --> interfejsy
7. <!-- .element: class="fragment fade-in" --> polimorfizm
8. <!-- .element: class="fragment fade-in" --> `static`

</textarea>
</section>
<section data-markdown>
Expand All @@ -76,9 +72,9 @@ <h3>Łukasz Ziobroń</h3>

## Kilka pytań

* <!-- .element: class="fragment fade-in" --> Co zapamiętaliście z poprzednich zajęć?
* <!-- .element: class="fragment fade-in" --> Co sprawiło największą trudność?
* <!-- .element: class="fragment fade-in" --> Co najłatwiej było Wam zrozumieć?
* <!-- .element: class="fragment fade-in" --> Co z zadań domowych należy jeszcze wyjaśnić?
* <!-- .element: class="fragment fade-in" --> Czy któreś zadania były niejednoznacznie opisane?
* <!-- .element: class="fragment fade-in" --> Ile zadań macie już wykonanych?

</textarea>
</section>
Expand All @@ -98,10 +94,26 @@ <h3>Łukasz Ziobroń</h3>

You can change the port by using npm start -- --port=8001.
-->
<section data-markdown="presentation.md"
<section data-markdown="presentation_inheritance.md"
data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="presentation_virtual.md"
data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="presentation_polymorphism.md"
data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="presentation_static.md"
data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<!-- section data-markdown="presentation_solutions.md"
data-separator-vertical="^___"
data-separator-notes="^Note:">
</section -->
<section data-background="#111111">

<h1>Coders School</h1>
Expand Down
Loading