-
-
Save sherpc/1810000 to your computer and use it in GitHub Desktop.
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
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
} | |
} | |
class user // класс содержит поля и методы польозвателя | |
// login, email, password, и методы : * newUser (cоздать нового пользователя) | |
// * delUser (удалить пользователя) | |
// * listUser (вывести список пользователей) | |
// * chPassUser (изменить пароль пользователя, на случай если он забыл его. По email) | |
// * ... (ещё чего нибудь) | |
{ | |
} | |
class bascket : user // класс, содержит поля и методы корзины пользователя. | |
// * creat -создать новую корзину | |
// * del - отчистить корзину | |
// * remItem - удалить i-ый элемент корзины | |
// * list - показать список покупок | |
// * calc - подсчитать стоимость товаров в корзине | |
{ | |
} | |
class UI // класс интерфейса пользователя | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment