how do I get the 3 times array in for loop? : I'm not familiar with c/c++, trying to implement for loop statement.

But I've got error.

>error C2296: '*' : illegal, left operand has type 'unsigned char *'


    unsigned char *_Orgin_Pixel_;
    unsigned char *_Copy_Pixel_;
    ....

	for (unsigned int i = 0; i < Picture_x_ * Picture_y_; i++)
	{
		*(_Copy_Pixel_*3 + i) = _Orgin_Pixel_[i];
	}

How do I resolve that problem?



