请教一下关于数组存储的问题。要求按位存储。我定义一个数组unsigned short int plot[100][100];是16位的。在VB中,有这样一个例子:plot(2, 3) = plot(2, 3) Or 2 ^2.在C++中又该如何实现呢?给您添麻烦了。
请教一下关于数组存储的问题。要求按位存储。我定义一个数组unsigned short int plot[100][100];是16位的。在VB中,有这样一个例子:plot(2, 3) = plot(2, 3) Or 2 ^2.在C++中又该如何实现呢?给您添麻烦了。
或者
plot[2][3] |= 2 * 2;是要这样吗?