From b19af2571be80cb1ee12b2d4558c202372888cca Mon Sep 17 00:00:00 2001 From: mash3000 Date: Wed, 8 Feb 2017 15:45:36 -0400 Subject: [PATCH] Added text outputs --- src/main.cpp | 5 +++-- src/ofApp.cpp | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index e57370b..893ad2f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,7 @@ #include "ofMain.h" #include "ofApp.h" - +#include +using namespace std; //======================================================================== int main( ){ ofSetupOpenGL(1024,768,OF_WINDOW); // <-------- setup the GL context @@ -9,5 +10,5 @@ int main( ){ // can be OF_WINDOW or OF_FULLSCREEN // pass in width and height too: ofRunApp(new ofApp()); - +cout << "Hello from main" << endl; } diff --git a/src/ofApp.cpp b/src/ofApp.cpp index 74441ac..023b563 100644 --- a/src/ofApp.cpp +++ b/src/ofApp.cpp @@ -1,8 +1,10 @@ #include "ofApp.h" +#include +using namespace std; //-------------------------------------------------------------- void ofApp::setup(){ - +cout << "Hello from setup" << endl; } //--------------------------------------------------------------