Skip to content

Instantly share code, notes, and snippets.

View Evshved's full-sized avatar
🌬️
Yes Yes No. I grabbed the wind.

Eugene Shved Evshved

🌬️
Yes Yes No. I grabbed the wind.
View GitHub Profile
//---------------------------------------------------------------------------
Application
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "FunctionsForm.h"
//---------------------------------------------------------------------------
@Evshved
Evshved / Lab#3
Last active August 29, 2015 14:07
Implementation of round robin
#include <vcl.h> // Visual Component Library
#include <stdio.h> // standard input/output header
#include <conio.h> //console input-output
#include <math.h> //mathematics
#include <stdlib.h> //standard library
#pragma hdrstop
//---------------------------------------------------------------------------
#pragma argsused
int main(int argc, char* argv[])
{
@Evshved
Evshved / Lab#5
Last active August 29, 2015 14:08
#include <vcl.h> // Visual Component Library
#include <stdio.h> // standard input/output header
#include <conio.h> //console input-output
#include <math.h> //mathematics
#include <stdlib.h> //standard library
#pragma hdrstop
#pragma argsused
//---------------------------------------------------------------------------
#include <vcl.h> // Visual Component Library
#include <stdio.h> // standard input/output header
#include <conio.h> //console input-output
#include <math.h> //mathematics
#include <stdlib.h> //standard library
#include <alloc.h> //work with dynamic memory
#pragma hdrstop //
#pragma argsused //
int main(int argc, char* argv[]) //1 сделать зацикливание x 2 рандом или ввод с клавы 3 x изучить маллок и каллок
{
@Evshved
Evshved / Lab#4
Last active August 29, 2015 14:10
Using functions
//декларация библиотек
#include <vcl.h> // Visual Component Library
#include <stdio.h> // standard input/output header
#include <conio.h> //console input-output
#include <math.h> //mathematics
#include <stdlib.h> //standard library
#include <alloc.h> //work with dynamic memory
#pragma hdrstop //
#pragma argsused //
#include <vcl.h>
#include <stdio.h>
#include <conio.h>
#include <math.h>
#include <stdlib.h>
#include <classes.hpp>
#pragma hdrstop
int main()
{
int sum = 0, i=0,n,count,b;
@Evshved
Evshved / Lab #7 advanced
Last active August 29, 2015 14:11
Sort words alphabetically
#include <vcl.h>
#include <stdio.h>
#include <conio.h>
#include <math.h>
#include <stdlib.h>
#include <classes.hpp>
#pragma hdrstop
void main (void){
char str[25][81],str_variable[81],str_input[81];
int counter_string,counter_id_string,n,i,g,k,len_str_input,r;
@Evshved
Evshved / Lab #7.1
Last active August 29, 2015 14:11
Introducing in strings
#include <vcl.h>
#include <stdio.h>
#include <conio.h>
#include <math.h>
#include <stdlib.h>
#include <classes.hpp>
#pragma hdrstop
void addon(void);
void main(void);
@Evshved
Evshved / Lab #9
Last active August 29, 2015 14:11
Building graphics from lab #3
//Libraries
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#include<math.h>
#pragma resource "*.dfm"
//---------------------------------------------------------------------------
//Main
TForm1 *Form1;
//описание(декларация) прототипов функций
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#include <stdio.h>
#include <io.h>
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;