This file contains hidden or 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
| program dynamic_structures; | |
| type | |
| student=record | |
| fam,name,group:string[20]; | |
| year:integer; | |
| sr:real | |
| end; | |
| pstud=^dstud; | |
| dstud=record | |
| s:student; |
This file contains hidden or 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 <stdio.h> | |
| #include <conio.h> | |
| #include <math.h> | |
| void main(void) | |
| { | |
| int x,y; | |
| float s = 0; | |
| FILE *f,*g; | |
| f=fopen("lab5.dat","w"); | |
| printf("Введите X Y (признак окончания ввода X=0 Y=0):\n"); |
This file contains hidden or 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 <stdio.h> | |
| #include <conio.h> | |
| #include <string.h> | |
| void main() | |
| { | |
| int i,j,n,k=0; | |
| char *st=""; | |
| clrscr(); | |
| printf("Vvedite stroku: \n"); | |
| gets(st); |
This file contains hidden or 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 <stdio.h> | |
| #include <conio.h> | |
| #include <string.h> | |
| void main() | |
| { | |
| int i,j,n,k=0; | |
| char *st=""; | |
| clrscr(); | |
| printf("Vvedite stroku: \n"); | |
| gets(st); |
This file contains hidden or 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 <stdio.h> | |
| #include <conio.h> | |
| #include <math.h> | |
| void main(void) | |
| { | |
| FILE *f,*g; | |
| f=fopen("lab8.dat","w"); | |
| printf("Вводите целые числа, признак конца - 0:\n"); | |
| int k; |
This file contains hidden or 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 <stdio.h> | |
| #include <conio.h> | |
| #include <math.h> | |
| void main(void) | |
| { | |
| FILE *f,*g; | |
| f=fopen("lab8.dat","w"); | |
| printf("Вводите целые числа, признак конца - 0:\n"); | |
| int k; |
This file contains hidden or 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 <stdio.h> | |
| #include <conio.h> | |
| #include <graphics.h> | |
| void axes(int xc, int yc) | |
| { | |
| line(xc-100,yc,xc+100,yc); | |
| line(xc+100,yc,xc+95,yc-2); | |
| line(xc+100,yc,xc+95,yc+2); | |
| line(xc,yc-100,xc,yc+100); | |
| line(xc,yc-100,xc-2,yc-95); |
This file contains hidden or 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 <stdio.h> | |
| #include <conio.h> | |
| #include <string.h> | |
| void main() | |
| { | |
| int i,j,k=0; | |
| char *st=""; | |
| clrscr(); | |
| printf("Введите строку: \n"); | |
| scanf("%s",st); |
This file contains hidden or 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 <stdio.h> | |
| #include <conio.h> | |
| #include <string.h> | |
| void main() | |
| { | |
| int i,k;char *st=""; | |
| clrscr(); | |
| printf("vvedite stroku:\n"); | |
| scanf("%s",st); | |
| printf("ishodn. stroka:\n%s\n",st); |
This file contains hidden or 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 <stdio.h> | |
| #include <conio.h> | |
| #include <string.h> | |
| void main() | |
| { | |
| int i,k=0; | |
| char *st=""; | |
| clrscr(); | |
| printf("Введите строку символов: \n"); | |
| scanf("%s",st); |