INFO804 Introduction à l'informatique graphique
Loading...
Searching...
No Matches
main.cpp
1#include <qapplication.h>
2#include <iostream>
3#include <fstream>
4#include <sstream>
5#include <string>
6#include "Viewer.h"
7
8using namespace std;
9int main(int argc, char** argv)
10{
11 // Read command lines arguments.
12 QApplication application(argc,argv);
13 // Instantiate the viewer.
14 Viewer viewer;
15 // Give a name
16 viewer.setWindowTitle("Viewer triangle soup");
17 // Make the viewer window visible on screen.
18 viewer.show();
19 // Run main loop.
20 application.exec();
21 return 0;
22}
Definition Viewer.h:6