问题描述
嘿,
我想问有关c ++ win32控制台多任务的问题.
我正在制作国际象棋游戏,程序已完成,但是我需要同时通过两个或三个任务添加动画.就像屏幕上某个地方的运行时间恒定一样,该程序也应该停止供用户输入.
http://www.tutorialspoint.com/cplusplus/cpp_multithreading.htm [ ^ ]
我想要这样的东西.这要容易得多.但是我无法在Visual Studio 2010中添加pthread.h.
Hey,
I want to ask question about c++ win32 console multitasking.
I am working on making a game of chess, The program is completed, but i need to add animations by two or three tasks at the same time. Just like a constant running time somewhere on screen and the program should also stops for user input.
http://www.tutorialspoint.com/cplusplus/cpp_multithreading.htm[^]
I want something like this.This is much more easier. But I am unable to add pthread.h in visual studio 2010.
推荐答案
这篇关于适用于初学者的C ++ Win32控制台中的多任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!