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
Přestupný rok
Square of a Number
euklejduv algoritmus
Fractions n/d that obey (n+5)/(d+2)=3n/d
BPC UDP pr3 cv10
hrátky s ukazately ++ bonusy ++ profi swap
arraywithqueue
Stack
Cross Platform Support for sprintf's Format '-Flag
pokus