Created
February 26, 2025 21:54
-
-
Save Zaryob/698b2befa11d11293e259cfe324cb374 to your computer and use it in GitHub Desktop.
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
export module MyModule; // Modül bildirimi | |
export int add(int a, int b) { // Export ile dışa açıyoruz | |
return a + b; | |
} | |
int subtract(int a, int b) { // Export olmadan yazılan fonksiyonlar yalnızca modül içerisinde kullanılabilir | |
return a - b; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment