C++
:
Forums
:
Articles
:
How to make something to loop forever.
: Page 2
Search:
C++
Information
Documentation
Reference
Articles
Sourcecode
Forums
Forums
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programm...
Articles
Lounge
Jobs
How to make something to loop forever.
Bazzy
(3164)
Nov 21, 2009 at 10:14am UTC
An infinite loop doesn't crash a computer, at least it takes 100% CPU
jdd
(95)
Nov 21, 2009 at 10:14am 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)
Nov 21, 2009 at 10:14am UTC
aside from ctrl+c, how do you terminate an infinite loop?
Scipio
(442)
Nov 21, 2009 at 10:14am 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).
Pages: [
1
] [
2
]
This topic is archived - New replies not allowed.