hi guys, i need help for making a GUI for difference between two dates
i write the code in c but i failed to make GUI in c++ but that what i need help to make .
(NOTE: I use visual studio 2010)
thanks in advance
hi guys, i need help for making a GUI for difference between two dates
i write the code in c but i failed to make GUI in c++ but that what i need help to make .
(NOTE: I use visual studio 2010)
thanks in advance
What are you taking about?
You have a GUI with two text fields for your two dates.
You press "OK" and you call the function you've written in C.
The GUI part should be covered in any tutorial covering the GUI toolkit of your choice.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
sorry but i don't understand what you mean
First step: find a GUI toolkit. There are lots out there. For example, Qt.
Then design a window, two text boxes and a button.
Refer to the documentation for your GUI toolkit on how to execute code when the user presses the button.
In the code for when the user presses the button, call your function.