Skip to content

Instantly share code, notes, and snippets.

void vvod(int arr[], int n)
{
printf("vvedite chiclo elementov:");
scanf_s("%d", &n);
printf("vvedite elementy:");
for (int i = 0; i < n; i++)
{
scanf_s("%d", &arr[i]);
#include "stdafx.h"
#include "WindowsProject2.h"
#define MAX_LOADSTRING 100
HINSTANCE hInst;
WCHAR szTitle[MAX_LOADSTRING];
WCHAR szWindowClass[MAX_LOADSTRING];
#include "pch.h"
#include <iostream>
#include <Windows.h>
void ShifruemoeSoobshenie(char a[][],int d, int size)
{
FILE *f;
fopen_s(&f, "C:\\temp\\laba.txt", "rt");
int size;
int d;
fscanf_s(f, "%d", &size);
#include "pch.h"
#include <iostream>
#include <string>
using namespace std;
int main()
{
char key[5][5] = { 'v', 'e', 'r', 'o', 'n',
'i', 'c', 'a', 'b', 'd',
'f', 'g', 'h', 'k', 'l',
#include "stdafx.h"
#include <stdio.h>
#include <Windows.h>
void Vvod(char **arr,int &d,int &size)
{
int i=0;
while(i != EOF)
{
scanf_s( "%c", &arr[i]);
[Пересланное сообщение]
Марк Захар, 20 ноября в 12:29
#include "stdafx.h"
#include <cstdio>
#include <conio.h>
int main()
{
FILE *f;
@dertst
dertst / infa
Created November 23, 2018 17:45
#include "pch.h"
#include <cstdio>
#include "string.h"
#include <conio.h>
#include <stdio.h>
void Vvod(char s[],int &key,int &size)
{
FILE *f;
fopen_s(&f, "C:\\temp\\skitala.txt", "rt");
for (int i = 0;i < key; i++)
@dertst
dertst / gist:30507c360a9b79cc3101e5efacaeb9dc
Created November 26, 2018 18:50
готовая лаба по инфе
#include "pch.h"
#include <cstdio>
#include <conio.h>
#include <stdio.h>
#include <Windows.h>
#include <iostream>
int main()
{
char a[100][100];
printf("Press Key");
@dertst
dertst / game
Created December 2, 2018 12:16
#include "stdafx.h"
#include "WindowsProject5.h"
#include "stdio.h"
#include <Windows.h>
#define MAX_LOADSTRING 100
HINSTANCE hInst;
#include "pch.h"
#include "stdio.h"
#include "string"
#include <Windows.h>
int main()
{
int num1[10];
int num2[10];
int numlen1;