#include <iostream>

class Foo
{
public:
    Foo(int first, int second) : a(first), b(second)
    {

    }

    int a;
    int b;
};

int main()
{
    Foo *f = new Foo(1, 2);

    std::cout << f->a << ", " << f->b << std::endl;

    delete f;

    return 0;
}
