Have you seen what you can do with Google?
Bob
![]() | Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years. Thanks, CNET Support |
Hi
Is there a way pause your program when it runs (just after compiling it).
I have a simple program that does some simple matrix calculations. It does not take user input. It does the calculations on a simple 3x3 matrix, saves the result in a file and then exits.
What i want to do is this. I want the program to start with this statement:
"Strike any key when ready!"
How do i write the code for doing this. For exampe when the person hits the space bar the program would continue running.
Thanks.
Discussion is locked