ccs problema

level level at enamel.hu
Wed Jul 27 10:17:01 CEST 2005


hali!

Van egy problémám:(a mai napon eltelt percek szama)

byte hour, min;
int16 xy;

xy=hour*60+min; sor 255-nél nagyobb eredményt sosem ad.
 
xy=hour;
xy*=60; 
xy+=min már helyes eredményt ad

de én egy sorban akarom megcsinálni! Biztos másképp kell, de mit nem csinálok 
jól?





More information about the Elektro mailing list