Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
you Have 2 Ways For This in c++:
1)Using Threads
2)Using Timer
1)Thread
with using thread you can have parallel processing in one main program.
you can put your check routine in thread and when it's occured do every thing that you want
notice that when the thread routine running the main program is running too.
2)Timer
with timers
you can check state in periodical time...
when it occured jump to every where yu want.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.