Last active
January 7, 2017 20:55
-
-
Save nm17/91061570df5e28be299a360b7f105d2f to your computer and use it in GitHub Desktop.
Пример typedef
This file contains 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
typedef signed int position; // Говорим что pos это signed int | |
int main() { | |
position f; // Переменная f и g | |
signed int g; // одинаковы по типу | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Пример красивого оформления: