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 IamaSherpa 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. spootnik

    Passing Variables and Classes

    WEll - I ended up trying to fit the two functions into one cpp file. I thopught there might be an easy way of switching data, butI guess not. Thanks for you reply, I appreciate it.
  2. spootnik

    Passing Variables and Classes

    The dialogs are open at the same time. How do employ a global variable? I've tried using a common Class but that has not proven to work yet. Also the variable keeps getting updated once every 20ms.
  3. spootnik

    Passing Variables and Classes

    Well - this is more of a hypothetical setup. I'm using MFC and have a double variable that keeps changing in one dialog window, and I want to be able to acces that variable from from the other window.
  4. spootnik

    Passing Variables and Classes

    Anyone know how to tackle this... I've got file1.h, file1.cpp, file 2.h, file2.cpp. I want to be ablte to access a variable in file1.cpp from file2.cpp. The Variables are in classes. I've tried creating file3.h&cpp that would carry a class accessable from files 1&2, but when I do this, both...

Part and Inventory Search

Back
Top