C compiler with embedded metalanguage.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
344 B

#include <stdio.h>
struct point
{
double x;
double y;
};
struct point point_array[100];
int main()
{
int my_point = 10;
point_array[my_point].x = 12.34;
point_array[my_point].y = 56.78;
printf("%f, %f\n", point_array[my_point].x, point_array[my_point].y);
return 0;
}
/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/