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
// Lab_4_1_var-9.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <malloc.h> | |
#include <conio.h> | |
#define max_length 50 | |
const char priority[4][2] = {{'+','1'},{'-','1'},{'*','2'},{'/','2'}}; //массив соответствия приоритета операциям |
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
// Programming_4_2_lab_var_9.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <stdio.h> | |
#include <conio.h> | |
#include <stdlib.h> | |
#include <malloc.h> | |
#define NOS 32 |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Lab_3_inisp | |
{ | |
class ListItem<T> | |
{ | |
public ListItem<T> Next |
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
1. возраст | |
2. получаю 1 высшее | 2+ высшее | |
3. холост | есть семья | |
4. не работаю | работаю 1/2 ставки | полный раб. день | |
if работаю { | |
5. колво часов работы в день | |
6. зарплата | |
< 3M | 3M - 6M | 6M - 10M | 10M+ |
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
;07) Шар и сопряженную пирамиду с треугольником в основании. | |
.model small | |
.stack 1000h | |
.data | |
saveMode db ? | |
color db 30 | |
x dw ? | |
y dw ? | |
x1 dw ? | |
x2 dw ? |
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
Классы для самой игры: | |
1)Осноной класс GameObject | |
А)Поле IsAllive | |
2)Класс составной части корабля ShipPart | |
А)Наследование от GameObject | |
Б)Наследование от DrawableObject | |
В)Клетка поля, на которой стоит данная часть корабля | |
3)Класс корабля Ship | |
А)Коллекция составных частей корабля | |
Б)Кол-во составных частей |
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
#include "stdafx.h" | |
#include "Discovery.h" | |
Discovery::Discovery(char* addr, int port, DiscoveryListener* l) { | |
listener = l; | |
int n; | |
unsigned int length; | |
struct sockaddr_in server, from; | |
struct hostent *hp; | |
char buffer[256]; |
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
#include "stdafx.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <pthread.h> | |
#include "Client.h" | |
#include <iostream> | |
using namespace std; |
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
#include "stdafx.h" | |
#include "Server.h" | |
#include <conio.h> | |
#include <iostream> | |
using namespace std; | |
Server* s; | |
class Listener : public ServerListener { | |
public: |
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
/*#include "stdafx.h" | |
#include "Server.h" | |
#include <conio.h> | |
#include <iostream> | |
using namespace std; | |
Server* s; | |
class Listener : public ServerListener { | |
public: |
OlderNewer