Advertisement

Console programming

Started by June 06, 2002 08:47 AM
0 comments, last by Rimrok 22 years, 6 months ago
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?
The way to the right path is through pain, sweat and tears.
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
Forever trusting who we areAnd nothing else matters - Metallica

This topic is closed to new replies.

Advertisement