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
This is a discussion on GUI for difference between two dates within the C++ Programming forums, part of the General Programming Boards category; hi guys, i need help for making a GUI for difference between two dates i write the code in c ...
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.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
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.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^