#include <iostream>
#include <vector>

using namespace std;

class pixel
{
public:
    pixel(void) : R(0), G(0), B(0)
    {

    }
    pixel(int R, int G, int B) : R(R), G(G), B(B)
    {

    }
    void showPixel(void)
    {
        cout<<"R: "<<R<<"\tG: "<<G<<"\tB: "<<B<<endl;
    }
private:
    int R;
    int G;
    int B;
};

int main(void)
{
    vector<pixel> test;
    test.push_back(pixel(1,2,3));
//    test.insert(pixel(1,2,3));
    cout<<test.size()<<endl;
    test[0].showPixel();

    test[0]=pixel();
    cout<<test.size()<<endl;
    test[0].showPixel();
}
