Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Tiwalade

    Emulate static self-referential class member in Fortran

    Hi xwb, Thank you for your prompt reply. I am actually coding in Fortran 2003. In your Get() function you declare a "empl" variable, is it a module variable or a dummy argument of the function?
  2. Tiwalade

    Emulate static self-referential class member in Fortran

    In C++ it is possible to declare a static self-referential class member e.g. class Employee { protected: int n; static Employee* empl; public: Employee() {} static void Set(Employee& e); } How do I emulate this in Fortran? One way is to declare a global module variable but this is not...

Part and Inventory Search

Back
Top