Jump to content

  • Log In with Google      Sign In   
  • Create Account

Rod Ochoa

Member Since 28 Dec 2012
Offline Last Active Apr 28 2013 06:48 PM

#5015295 Program Wide Global Vars in C++?

Posted by Rod Ochoa on 28 December 2012 - 09:22 PM

global.hpp

 

extern int counter;

 

global.cpp

 

include "global.hpp"

int counter;

 

other.cpp

 

include "global.hpp"

 

// Use counter.......




PARTNERS