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 <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++) |
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
int *a() | |
{ | |
int *mas = new int(NUMBER_OF_ELEMENTS); | |
operations_with_array(); | |
return a; | |
} | |
void main() | |
{ | |
int *mas = a(); |
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
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); |
NewerOlder