I'm currently constructing an MFC application.
I desire for a double, which a user types into an Edit Control to be stored in a buffer, which is achieved using the following code segment:
* EDIT1 is the member variable of an the edit control containing the double.
I'm confident in the functionality of this code, but I want the double stored in the buffer to be multiplied by 900, which I then want to be displayed in another edit control (EDIT2):
EDIT2 = atof(cBuffer) * 900; // Convert the buffer into double and multiply
I don't know if that is correct, but I'm informed proceeding this code, the following must be present:
Whether it's intended to be TRUE or FALSE is beyond me ...
Many thanks for helping - I had the code functioning before, but I deleted it, 'cos I was no longer working on the project :'(