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]

Newsletter Updates

Enter your email address below to subscribe to our newsletter

Leave a Reply

Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124