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
| import UIKit | |
| class KeyboardObserver { | |
| private var onShowHandler: ((_ keyboardFrame: CGRect) -> Void)? | |
| private var onHideHandler: (() -> Void)? | |
| init(onShow: @escaping (_ keyboardFrame: CGRect) -> Void, onHide: @escaping () -> Void) { | |
| onShowHandler = onShow | |
| onHideHandler = onHide | |
| startObserving() |
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
| #include <iostream> | |
| using namespace std; | |
| struct Node | |
| { | |
| int Year; | |
| char* Name; | |
| Node *Next, *Prev; | |
| }; | |
| class List |
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
| // | |
| // main.cpp | |
| // termpaperStrainger's | |
| // | |
| // Created by Рома Сумороков on 02.09.15. | |
| // Copyright (c) 2015 Рома Сумороков. All rights reserved. | |
| // | |
| #include <iostream> | |
| #include <fstream> |
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
| #include <iostream> | |
| using namespace std; | |
| const int thisYear = 2015; | |
| bool sernameCheck(char *a,char* b) | |
| { | |
| // a - короткая, женщина | |
| // b - длинная, мужчина |
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
| // | |
| // main.cpp | |
| // One | |
| // | |
| // Created by Рома Сумороков on 09.02.15. | |
| // Copyright (c) 2015 Рома Сумороков. All rights reserved. | |
| // | |
| #include <iostream> |
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
| #include <iostream> | |
| using namespace std; | |
| class student { | |
| public: | |
| char *name; | |
| int age; | |
| char sex; | |
| bool marriagePoss; |
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
| #include <math.h> | |
| #include <iostream> | |
| using namespace std; | |
| struct Vector { | |
| int m_x; | |
| int m_y; | |
| Vector(int x, int y) { // структура, являющаяся типом данных | |
| m_x = x; |
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
| #include <LiquidCrystal.h> | |
| LiquidCrystal lcd( 4, 5, 10, 11, 12, 13); | |
| int pos = 0; | |
| int str = 0; | |
| void setup(){ | |
| lcd.begin(16, 2); |
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
| // | |
| // main.cpp | |
| // lab4 | |
| // | |
| // Created by Рома Сумороков on 17.11.14. | |
| // Copyright (c) 2014 Рома Сумороков. All rights reserved. | |
| // | |