• Advertisement

Archived

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

Console programming

This topic is 5708 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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

  • Advertisement