Steward
分享是一種喜悅、更是一種幸福
程式語言 - The Fast Light Tool Kit (FLTK) - CPP - Dialog
參考資訊:
https://www.fltk.org/doc-1.3/index.html
main.cpp
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/fl_ask.H>
int main() {
int r = 0;
fl_message("Message");
fl_alert("Alert");
r = fl_choice("Choice", "Cancel", "OK", "Apply");
return 0;
}
編譯、執行
$ g++ main.cpp -o main -lfltk $ ./main

