| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> void conversion(float input) { float yard = floor(input/NUMBER_OF_INCHES_IN_A_YARD); /* ... */ } <1> sk8ing, mata e o vaca :) <1> oh, guess he was just returning from a split, heheh
<0> int feet = floor((input - (yard * NUMBER_OF_INCHES_IN_A_YARD))/NUMBER_OF_INCHES_IN_A_FOOT) <2> gah <0> the floor function, well, "florrs" a value to the greatest posible integer value. <2> i don't understand the synta. <2> syntax <2> very frustrating <2> was anyone else this frustrated when they started C++? <0> Possibly. <2> lol. <2> basically I have everything on float still
<2> i dont know how to properly convert it through that webpage. <2> and my jack*** teacher didn't bother to explain this crap <2> beautiful. <2> I have everything working well up to the actual conversions to yards feet and inches <2> the conversion to inches from centimeters works correctly. <2> now it's just the last part. <2> I tried using an if statement <2> if (inchesconverted<12); <2> cout<<inchesconverted<<" is how many inches you have total.">>endl; <2> but that's erroring terribly.
Return to
#c++ or Go to some related
logs:
#linuxhelp #javascript #linuxhelp 12WHAT UNIT OF HEAT WILL RAISE THE TEMPERATURE OF ONE GRAM OF WATER BY ONE DEGR #chatzone #MissKitten SABIH BRA indonesia valea #chatzone wallnoise
|
|