Skip to content

Commit 2c19dff

Browse files
committed
c++ standard compliance
1 parent 4671135 commit 2c19dff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

grafica_fltk/button_fltk.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// http://www3.telus.net/public/robark/
22

3+
#include <string>
34
#include <FL/Fl.H>
45
#include <FL/Fl_Window.H>
56
#include <FL/Fl_Button.H> // useremo anche un bottone!
@@ -23,7 +24,7 @@ void button_callback(Fl_Widget * o, void *) {
2324

2425

2526
int main() {
26-
const std::string titolo_finestra = "Finestra";
27+
const string titolo_finestra = "Finestra";
2728

2829
// La creazione dei widget in questo esempio avviene con i costruttori.
2930
Fl_Window finestra(300, 200, titolo_finestra.c_str());

0 commit comments

Comments
 (0)