This question already has answers here: Closed 11 years ago. Possible Duplicate: C++ static constant string (class member)
I am working on a project that has a class (Time) defined in a header file and the objective is to use that class in my main function to determine the difference between two times. I have gone over th
I\'m trying to share methods between objects that belong to a parent object. I have a main object, which has child objects that handle different tasks. These are created using the main objects constr
E.g. import java.util.*; public class mainXX { public static void main(String args[]){ System.out.println(new Date());
I want to create a class one of whose private: members is a struct point(see below). The public members ndim and numparticles开发者_运维知识库 are
I am trying to create a class in C++ and be able to access elements of that class in more than one C++ file. I have tried over 7 possible senarios to resolve the error but have been unsuccessful. I ha
I have this array and I can\'t figure out how to dissect it and get it to built onto itself. I have compiled my array to what I think might be the easiest to keep track of:
I was wondering if there is any possibility in PHP to do following; <?php class boo { static public $myVariable;
I have a class, with multipl开发者_Go百科e methods and members.When I create an instance of this class, I create an instance of another class within the first class.Some of the methods in this second
I noticed something in C# when dealing with custom objects that I found to be a little odd. I am certain it is just a lack of understanding on my part so maybe som开发者_开发问答eone can enlighten me.