cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Articles
How to make something to loop forever.
Page 2
How to make something to loop forever.
Pages:
1
2
Feb 17, 2009 at 1:01pm UTC
Bazzy
(6281)
An infinite loop doesn't crash a computer, at least it takes 100% CPU
Feb 18, 2009 at 10:02pm UTC
jdd
(95)
An infinite loop causes a section of code to loop indefinitely. Beyond that, whatever the section of code does is entirely up to the programmer. There is nothing inherently malicious about infinite loops.
Feb 19, 2009 at 5:29am UTC
closed account (
jNU5fSEw
)
aside from ctrl+c, how do you terminate an infinite loop?
Feb 19, 2009 at 11:56am UTC
Scipio
(446)
Inside the code or from the OS? Inisde the code you can use "break;", in the SO you can 'kill' the task with taskmaneger (ctrl+alt+del -> tasks).
Topic archived. No new replies allowed.
Pages:
1
2