OnlineWoerterBuecher.de
Internes

Lexikon


for loop


A loop construct found in many imperative programming languages which repeatedly executes some instructions while a condition is true. In C, the for loop is written in the form for (INITIALISATION CONDITION AFTER) STATEMENT where INITIALISATION is an expression that is evaluated once before the loop, CONDITION is evaluated before each iteration and the loop exits if it is false, AFTER is evaluated after each iteration, and STATEMENT is any statement including a compound statement within braces ".." that is executed if CONDITION is true. For example: int i for (i = 0 i < 10 i++) { printf("Hello ") } prints "Hello" 10 times. The for loop is an alternative way of writing a while loop that is convenient because the loop control logic is collected in a single place. It is also closely related to the {repeat loop}. (1999-07-07)

In addition suitable contents:
[ = ] [ af ] [ ag ] [ AL ] [ al ] [ alt ] [ am ] [ an ] [ ar ] [ arc ] [ AT ] [ at ] [ au ] [ b ] [ be ] [ br ] [ brace ] [ C ] [ ca ] [ ch ] [ cl ] [ co ] [ com ] [ con ] [ cons ] [ control ] [ cu ] [ D ] [ ding ] [ du ] [ E ] [ ec ] [ ed ] [ EM ] [ ER ] [ er ] [ era ] [ es ] [ exec ] [ execute ] [ expression ] [ fi ] [ file ] [ fo ] [ for ] [ FT ] [ ge ] [ gi ] [ gl ] [ gr ] [ gu ] [ h ] [ hat ] [ hr ] [ IA ] [ IAL ] [ id ] [ ie ] [ il ] [ in ] [ inc ] [ int ] [ IO ] [ io ] [ IS ] [ is ] [ ISA ] [ IT ] [ it ] [ iteration ] [ la ] [ language ] [ Lex ] [ LIS ] [ LISA ] [ loop ] [ lose ] [ ls ] [ lt ] [ lu ] [ ly ] [ M ] [ ma ] [ man ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ N ] [ na ] [ nc ] [ ND ] [ ng ] [ ni ] [ ns ] [ NT ] [ O ] [ om ] [ op ] [ pe ] [ ph ] [ pl ] [ pound ] [ pr ] [ printf ] [ program ] [ programming ] [ programming language ] [ query ] [ rc ] [ re ] [ repeat ] [ repeat loop ] [ ro ] [ ru ] [ S ] [ SA ] [ se ] [ si ] [ so ] [ st ] [ state ] [ struct ] [ T ] [ TA ] [ tf ] [ th ] [ TIA ] [ to ] [ tr ] [ tt ] [ ua ] [ us ] [ va ] [ ve ] [ while ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (5677 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.1973 Seconds, with 17 Database-Queries
Zurück zur Startseite