Created
May 14, 2014 09:30
-
-
Save fourier/5161305d824ca3a0ee61 to your computer and use it in GitHub Desktop.
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 <stdio.h> | |
struct point_t { | |
float x; | |
float y; | |
}; | |
static point_t point = { | |
.x = 0.5, | |
.y = -1.3, | |
}; | |
int main() | |
{ | |
printf("x = %f, y = %f\n", point.x, point.y); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment