Are array of pointers to different types possible in c++? -
What is the array of different types of signals in C ++? For example, please, for example)
C ++ is more with stuff, so if you do it in a way As you above, you create an array of only zero signals
zero * saw [10]; Ary [0] = new int (); Aarree [1] = new float ();
DA.
If you want to object things in an oriented way, then you want to use the collection, and all the things that you add to the collection are the same base object class which can be added to the collection. . This is the "object" in Java, no base object is created in C ++, but any collection library you use will be something that you can sub-class.
Comments
Post a Comment