Convertor de temperatura din celsius in fahrenheit realizat in code::blocks cu interfata grafica Gtkmm3 si in limbajul de programare cpp.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 | #include "Fereastra.h"
#include <gtkmm/application.h>
const gchar *title = "Gtkmm template";
const gchar *compile ="g++ simple.cc -o simple `pkg-config gtkmm-3.0 --cflags --libs`";
int main(int argc, char *argv[])
{
auto app = Gtk::Application::create(argc,argv,"com.gmail.mhcrnl");
Fereastra fereastra;
fereastra.set_default_size(400,200);
fereastra.set_title("Gtkmm_template");
return app->run(fereastra);
}
|
Comentarii
Trimiteți un comentariu