c++双缓冲技术有问题?
一本人一个c++小白,因为编写的一个小游戏老是闪屏,于是找到了双缓冲技术,可是出现了问题:只显示第一个缓冲区代码在github上:https://github.com/g...
一本人一个c++小白,因为编写的一个小游戏老是闪屏,于是找到了双缓冲技术,可是出现了问题:只显示第一个缓冲区
代码在github上:https://github.com/ge-728199475/728199475/blob/master/%E5%8F%8C%E7%BC%93%E5%86%B2
输出结果:
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
求大佬解答,这对我真的很重要! 展开
代码在github上:https://github.com/ge-728199475/728199475/blob/master/%E5%8F%8C%E7%BC%93%E5%86%B2
输出结果:
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
+++++++++++++++
求大佬解答,这对我真的很重要! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询