You can only access the pointer based array in one dimension, ... i); int offset = j * height + k; std::cout<< ptr[offset] << std::endl;.
確定! 回上一頁