I have a GUI application which has a push button and text area.
what i want the app to do is, when i press a push button, it should call a function that i have written and display its return value in the text area.
this is the function
Qt Code:
using namespace std; char DLLfunction (){ typedef char* (*MyPrototype)(); MyPrototype myFunction = char *b = myFunction(); return b; }To copy to clipboard, switch view to plain text mode
how can get the return value in the GUI and in the text area.
I am using QtCreator.
Bookmarks