Workshop 8 - interop#69
Merged
Merged
Conversation
|
|
||
| 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`. |
adamgracikowski
approved these changes
Jan 23, 2026
adamgracikowski
left a comment
Contributor
There was a problem hiding this comment.
sugestie w komentarzach
| {{% /hint %}} | ||
|
|
||
|
|
||
| ### Przykładowe rozwiązanie |
Contributor
There was a problem hiding this comment.
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
|
|
||
| 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. |
Contributor
There was a problem hiding this comment.
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. |
|
|
||
| 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. |
Contributor
There was a problem hiding this comment.
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.