阅读背景:

在c++中使用空指针打印一个数组。

来源:互联网 

I am building a DirectX game, in which I have a Debug::Log static function defined in the Debug class. This just prints the values of the passed parameter on the output/console. I want to implement a function where I can pass a starting pointer to the array(that I want to print), and print all elements in the array. However I want to let the function be flexible with the type of params passed. So, I am doing something like this.. I am building a DirectX game, in which I have a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: