NostalgiaRoom docs
nostalgia.media.mit.edu
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Macros
Groups
Pages
src
main.cpp
Go to the documentation of this file.
1
10
#include "
testApp.h
"
11
#include "ofAppGlutWindow.h"
12
13
#include <stdlib.h>
14
#include<string.h>
15
16
int
main
(
int
argc,
char
*argv[])
17
{
18
19
if
(argc<2)
20
{
21
cout<<
"Too Few Arguements\n"
;
22
ofExit();
23
}
24
25
char
*test;
26
27
long
long
int
userid=strtoll(argv[1], &test, 10);
28
29
ofAppGlutWindow window;
// create a window
30
// set width, height, mode (OF_WINDOW or OF_FULLSCREEN)
31
ofSetupOpenGL(&window, 1024, 768, OF_WINDOW);
32
33
ofRunApp(
new
testApp
(userid));
// start the app
34
}
35
Generated on Fri Jun 14 2013 21:13:37 for NostalgiaRoom docs by
1.8.4