Skip to content

Instantly share code, notes, and snippets.

@goloveychuk
goloveychuk / lab8.cpp
Created December 15, 2013 14:16
8-9 lab
#include <iostream>
#include <time.h>
#include <iomanip>
#include <conio.h>
using namespace std;
bool flag;
void random(int **a,int n1,int n2)//filling massive of random numbers
{
for (int n=0;n<n1;n++)
for (int k=0;k<n2;k++)
int *a()
{
int *mas = new int(NUMBER_OF_ELEMENTS);
operations_with_array();
return a;
}
void main()
{
int *mas = a();
void is_key_word()
{
char *buf=new char [100];
int buf_index=0;
char c;
int input_pos;
int shift=1;
bool end_of_file=0;
fstream f("1.txt");
f.seekg (0, f.end);