Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C++ access private data members in another class
#1
//the mem_data class======================================//
class mem_data {

public:
mem_data(int,int,std:Confusedtring);
~mem_data();

private:
std::vector<reader> mem_store;
int complete;

friend class model_base;

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Abstract data type (ADT) in C++ 2012 Vuhelper 0 7,106 01-04-2012, 10:34 PM
Last Post: Vuhelper
  call by value, call by reference,call by pointer in data structure 2012 Vuhelper 0 4,334 01-04-2012, 10:28 PM
Last Post: Vuhelper
  Balance of the AVL tree im Data structure 2012 Vuhelper 0 1,902 01-04-2012, 10:27 PM
Last Post: Vuhelper
  why we use queues data structure for level order traverse? Vuhelper 0 2,468 11-05-2011, 05:26 PM
Last Post: Vuhelper
  Linklist Data Structure Vuhelper 0 1,900 11-05-2011, 05:11 PM
Last Post: Vuhelper
  Boolean data problem in c++ 2011-12 Vuhelper 0 896 08-27-2011, 08:57 PM
Last Post: Vuhelper
  C++ Help with Template class program 2011 Vuhelper 0 825 07-23-2011, 05:40 PM
Last Post: Vuhelper
  Overloaded >> operator not reading more than first line from data file in c++ 2011 Vuhelper 0 916 07-23-2011, 05:38 PM
Last Post: Vuhelper
  Read data from file into arrays in c++ 2011 Vuhelper 0 916 07-20-2011, 10:58 PM
Last Post: Vuhelper
  how to pass a simlpe list of data type struct to function in c++ 2011 Vuhelper 0 861 07-20-2011, 10:49 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)