Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
inicializace struktury
#include <stdio.h> struct TBod { float iX; float iY; double iZ; }; // !!! zde musí být středník int main() { struct TBod bod = { .iX = 3, .iY = 1, .iZ = 5.2}; // struct - typ, bod - promněná printf ("bpd.iX = %f\n", bod.iX); printf ("bpd.iY = %f\n", bod.iY); printf ("bpd.iT = %f\n", bod.iZ); return 0; }
run
|
edit
|
history
|
help
0
TQueue
Check Expression with Stack
Retezce live
struktura vzalenost
Herout (67) - 1
makro vzdálenost
amal
bignum test
test
ulozeni ukazatele