Hello everyone, wasn't too sure if anyone knew any c++ here or not, but I'm having a problem with inheritance. Here is my problem:

I have my class, with private variables int and double, but if I want to initialize both with one of my constructors that has a parameter set to, int and int, how could I do that? I'll paste an example below:

Code Cpp:
class something {
 void something(int, int);
 int x;
 double y;
// and here how would I create a function of "something" to initialize x and y to the parameters int, int?

thanks for any help.