i am making a program that's calculate Meters Per Second into Kilometers Per Hour.. i used this piece of code to do the calculate:
But if i compile it it's say: Illigel use of pointers.Code:void __fastcall Tmpstokmph::calculate(TObject *Sender) { kmph->Text = FloatToStrF((StrToFloat (mps * 60) * 60) / 1000, ffNumber, 4 , 10); }
I can't solve it.. can any1 help me plz? (For if u need some info, i just started the Windows C++)
PS: kmph and mps are both names of text fields, so u know it