Hey,
I want to use a small server-client program, by using two separated machines. The thing is that none of them has ubuntu as the main OS. In fact, these OS are in a virtualbox.
So the...
Type: Posts; User: rocksoad23
Hey,
I want to use a small server-client program, by using two separated machines. The thing is that none of them has ubuntu as the main OS. In fact, these OS are in a virtualbox.
So the...
I know, and it was my first thinking about it: okay, let's define a class with all the methods inside that allow me to define vectors and methods to use, either to manipulate dinamically the vectors...
class A {
[variables, methods' prototypes that create vectors which their memory can change dinamically when it is convenient]
};
[Definition of the constructor]
[Definition of those methods]
...
Hey,
I'm developing a program in which there are two classes. The purpose of one of them is to create vectors that change dinamically (class A) and the other is a bunch of methods to operate on...
Thanks, I got it!
I think you didn't understand my question.
My point is, can I use an A's class object into another class B?
Can I do that? Does it respect all the philosophy of object-oriented programming?
Hello guys!
I'm a beginner in C++ programming and I've a (stupid, I think) doubt about how to pass an object's class into another class. Suppose we have these two classes:
class A {...}...