class-design
Will there be a new way of managing javascript classes?
Does anyone know if structuring javascript will be changed? What I mean is to have a way to manage javascript classes into packages, like in Java. Is there开发者_运维技巧 already a way?I guess you are[详细]
2023-02-28 09:40 分类:问答What's the most reliable way to prohibit a copy constructor in C++?
Sometimes it\'s necessary to prohibit a copy constructor in a C++ class so that class becomes \"non-copyable\". Of course, operator= should be prohibited at the same time.[详细]
2023-02-27 06:13 分类:问答Using an Instantiated Class in another Class
Please excuse my ignorance, I am transitioning from VB6 to C# (very steep learning curve). I have googled this to death and I am not able to figure this out. I instantiated a Class on my main form:[详细]
2023-02-26 04:43 分类:问答Need some external advices for designing this class diagram!
Summary I have to modernize an application written in FORTRAN that, in short, is responsible for demographic projections through years. As such, I have an initial population given as an input. This[详细]
2023-02-25 09:38 分类:问答Question about class composition of other class
Hi Imagine I have a class of StandardCar which holds a reference to an Engine instance of a class. Lets say that I\'m programming now in the scope of the engine class and I want 开发者_C百科to access[详细]
2023-02-24 04:02 分类:问答C# Limit creation of class instance to within namespace
I have two objects, RoomManager and Room, there will be several Rooms and one RoomManager.I want the RoomManager to be the only one allowed to create a Room object. So I\'m wondering if there is a way[详细]
2023-02-24 01:12 分类:问答creating a database class using the multimap class in c++
I\'m working with C++ for a project. I need to store a pair (string,integer) and access them based on the string. The multimap class seems perfect for that. I am trying to make my own class, database,[详细]
2023-02-23 14:52 分类:问答Is this bad oop design?
I haveclass called Chicken and in Chicken I have some methods, so in another class where I instantiate and call methods on Chicken, I might do something like this:[详细]
2023-02-23 05:46 分类:问答Method return values not consistent
This is a philosophical question, actually. It\'s bee开发者_如何学JAVAn a year I\'m programming using PHP as a language and, as all of you know, PHP is very liberal as for the datatypes.[详细]
2023-02-23 01:03 分类:问答C++ Class Design
Currently i\'m developing most of my C++ Classes with the following structure and i was wondering if the community could give me some tips on how to improve my class design to make it more portable, f[详细]
2023-02-22 04:31 分类:问答
加载中,请稍侯......