proc hello {} { puts "Hello Tcl/Tk!" } button ".b" -text "Say Hello" -command hello pack ".b" -padx 20 -pady 6 #include "cpptk.h" #include <stdio.h> using namespace Tk; void hello() { puts("Hello C++/Tk!"); } int main(int, char *argv[]) { init(argv[0]); button(".b") -text("Say Hello") -command(hello); pack(".b") -padx(20) -pady(6); runEventLoop(); } Apart from the scaffolding necessary in C++, bot