member
why is the implementation of my abstract member not public
I\'ve been struggling to get this to compile for about an hour.It must be something stupid.Can you spot it?[详细]
2023-03-12 04:13 分类:问答C++ Calling Static member function from external file
I have this class defined in Global.h class Global { public: static string InttoStr(int num); }; In Global.cpp, i have[详细]
2023-03-11 15:32 分类:问答Difference between object->function() and object.function() in C++
Can anyone explain the different 开发者_运维知识库between doing something like: a->height();[详细]
2023-03-11 01:36 分类:问答If I delete a class, are its member variables automatically deleted?
I have been researching, and nothing relevant 开发者_StackOverflow中文版has come up, so I came here.[详细]
2023-03-10 15:00 分类:问答value becoming 0 for no obvious reason
for some reason, the value mod i am creating is becoming 0 in keygen despite being correct when it is made and after keygen is run. i dont get why. can anyone tell me?[详细]
2023-03-09 18:05 分类:问答Immutable Object with ArrayList member variable - why can this variable be changed?
I have got one class with various member variables. There is a constructor and there are getter-methods, but no setter-methods. In fact, this object should be immutable.[详细]
2023-03-08 17:37 分类:问答Alternative to member variables in C
I have a file with several related functions which need to share a piece of data.While I would like to avoid the use of a global variable开发者_开发问答,The best solution I can think of is to declare[详细]
2023-03-07 03:21 分类:问答how to set display member to a concatenated expression? datasource is linq query
i\'m trying to set the display member of my listbox to a concatenated value from a linq query: var query =[详细]
2023-03-06 04:02 分类:问答C++ Class member callback
I have an error compiling this code: template <class T> class purple_multitimer { public: typedef struct _timerinfo timerinfo, *ptimerinfo;[详细]
2023-03-04 22:08 分类:问答Usage of objects or pointers to objects as class members and memory allocation
A similar question has been asked here: Class members that are objects - Pointers开发者_运维技巧 or not? C++[详细]
2023-03-04 12:42 分类:问答