Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

C++ WinAPI


ghost's Avatar
0 0

is the winapi programming different from the console programming? i need to have registered one window, with two textinputs, one image and one button. first value is value u, the second is i. then i need to divide the u by i. can i do this in winapi like in console? thanks.


ghost's Avatar
0 0

Programming for the Windows API is a bit different than a standard console program. For instance, all your inputs and outputs need to be done using the API functions, you can't just cout or cin them.

It is entirely possible to do what you need to do using the Windows API. All the maths and variable stuff is the same, it's just the way that the user interacts with the program that's different.


ghost's Avatar
0 0

ok, but how can i do this in the visual c++ ?? there are some kind of "form designer" but i cant add objects etc…