C++
:
Forum
:
Articles
:
How to make something to loop forever.
: Page 2
Search:
cplusplus.com
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
How to make something to loop forever.
Pages:
1
2
Bazzy
(6258)
Feb 17, 2009 at 1:01pm UTC
An infinite loop doesn't crash a computer, at least it takes 100% CPU
jdd
(95)
Feb 18, 2009 at 10:02pm UTC
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.
adrianvidal
(16)
Feb 19, 2009 at 5:29am UTC
aside from ctrl+c, how do you terminate an infinite loop?
Scipio
(442)
Feb 19, 2009 at 11:56am UTC
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