simple window [fltk]

Bjarne Stroustrup “Programming Principles and Practice Using C++”
Chapter 12 Drill 1
Using a GUI library called FLTK (Fast Light Tool Kit, “full tick”).

Output:

[code language=”cpp”]
// Philipp Siedler
// Bjarne Stroustrup’s PP
// Chapter 12 Drill 1

#include "Graph.h"
#include "Simple_window.h"

int main()
{
using namespace Graph_lib;

Point tl(150, 150);
Simple_window win(tl, 600, 400, "My window");
win.wait_for_button();
}
[/code]

Leave a Reply