Archived

This topic is now archived and is closed to further replies.

Rimrok

Console programming

Recommended Posts

Rimrok    122
Hey hoe.. How do I allow functions to run paralell in c++? For example if I whant a timer to run besides the ongoing functions.. Is it possible in a simple i/o console program? does the system necessarily need to halt before each new step?

Share this post


Link to post
Share on other sites
I am not very sure that I understand your question correctly, but what you describe is called "multithreading". It is possible to do that in console programs (I''m talking about Windows here).

"does the system necessarily need to halt before each new step?"
I don''t know what you mean by that. When having more than a thread, certain precautions have to be taken.

Could you elaborate your question a little bit?

Forever trusting who we are
And nothing else matters
- Metallica

Share this post


Link to post
Share on other sites