Skip to content

Workshop 8 - interop#69

Merged
adamgracikowski merged 2 commits into
masterfrom
feature/workshop8
Jan 23, 2026
Merged

Workshop 8 - interop#69
adamgracikowski merged 2 commits into
masterfrom
feature/workshop8

Conversation

@Lumek4

@Lumek4 Lumek4 commented Jan 23, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread content/labs/lab14/index.en.md Outdated

Fill in the `Main` function in the `PatternGenerationDemo` project to create at least one image each with the functions `pattern_enstripen` and `pattern_populate`.

Uzupełnij funkcję `Main` w projekcie `PatternGenerationDemo` aby tworzyło się co najmniej po jednym obrazie z użyciem fukcji `pattern_enstripen` oraz `pattern_populate`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do usunięcia

@adamgracikowski adamgracikowski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sugestie w komentarzach

{{% /hint %}}


### Przykładowe rozwiązanie

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ja bym dał tutaj jeszcze przed ### Przykładowe rozwiązanie coś w stylu ### Oczekiwany rezultat i w tej sekcji te dwa zdjęcia, które się generują, żeby oni wiedzieli może jak wygląda poprawny wynik?

i tak samo w wersji po angielsku

Comment thread content/labs/lab14/index.en.md Outdated

Check what values the file opening function declares as invalid. Make the `MyFile` class inherit from the correct `SafeHandle` so it matches the invalid values. Make sure you do it in `WindowsFile.cs` if you're on Windows or `UnixFile.cs` if you're on OSX or Linux. Finish the correct implementation for your system. Fill in `Open` and `Read` in the file `MyFile.cs`. You can test the program by running it.

After the workshop you're encouraged to try this task for the other system setup.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
After the workshop you're encouraged to try this task for the other system setup.
After the workshop you're encouraged to try this task for the other operating system setup.

Comment thread content/labs/lab14/index.pl.md Outdated

Sprawdź jakie wartości zwracane przez funkcję otwierającą plik powinny być interpretowane jako niewłaściwe. Dokończ implementację części odpowiadającej systemowi którego używasz. Dodaj do klasy `MyFile` w pliku `WindowsFile.cs` lub `UnixFile.cs` dziedziczenie po odpowiedniej klasie z rodziny `SafeHandle` i zaimplementuj potrzebne funkcje. W pliku `MyFile.cs` uzupełnij funkcje `Open` oraz `Read`. Program możesz przetestować uruchamiając go.

Po zakończeniu zajęć zachęcamy do próby wykonania zadania w innym systemie.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Po zakończeniu zajęć zachęcamy do próby wykonania zadania w innym systemie.
Po zakończeniu zajęć zachęcamy do próby wykonania zadania na innym systemie operacyjnym.

@adamgracikowski
adamgracikowski merged commit bed9c05 into master Jan 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants