codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <conio.h> #include <stdio.h> #include <math.h> #include <stdlib.h> struct pt {int num;int x;int y;}; int main() { float R=7.2; struct pt mug[4]={1,1,1 , 2,15,1 , 3,10,8 , 4,2,14},line[2]={5,-1,-1 , 6,8,15},*D1; D1[1]=(struct pt)malloc(sizeof(pt)); //printf("%d %d %d",mug[2].num,mug[2].x,mug[2].y); getch(); return 0; }
Private
[
?
]
Run code
Submit