title: Fortran 77 conversion to C++
body: <p>I have a Fortran 77 application that uses Common declarations to "share" memory variables.  Back in the day, when memory was expensive and hard to come by this was the way around it.</p>
  
  <p>The equipment being controlled sets status flags.  These flags reside in these Common variables.</p>
  
  <p>Any suggestions on how to implement the Common functionality in c++?</p>
  
  <p>A class perhaps, with all the common variables being public.  Thus any program instantiating that class will have access to the contents of the Common variables.</p>
  
  <p>Are there any tutorials/guidelines for converting Fortran to C or C++?</p>
  
  <p>Thanks</p>