View Single Post
  #1  
Old 04-17-2010, 12:18 AM
C++ C++ is offline
Senior Member
 
Join Date: Jun 2009
Posts: 18,248
Default How to Share a Particular Data object between 2 cpp files

I have an array, which i want it common to both the f1.cpp and f2.cpp . since f1.cpp will be used to store some values in it and f2.cpp has to use it for some other computations , is there any way i can share these 2 variables . well i initially thought of files , but they dont completely...
__________________
C++
domain name forum
Reply With Quote