INFO804 Introduction à l'informatique graphique
Loading...
Searching...
No Matches
TP1
main.cpp
1
#include <qapplication.h>
2
#include <iostream>
3
#include <fstream>
4
#include <sstream>
5
#include <string>
6
#include "
Viewer.h
"
7
8
using namespace
std;
9
int
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
}
Viewer.h
Viewer
Definition
Viewer.h:6
Generated on Fri Feb 16 2024 16:17:55 for INFO804 Introduction à l'informatique graphique by
1.9.8