|
|
for loop
<programming> 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\n");
}
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)
Try this search on OneLook / Google
Nearby terms:
fork « fork bomb « forked « for loop » FORM » FORMAC » FORMAL
This article was derived from the Free Online Dictionary of Computers and is available under ther terms of the GNU Free Documentation License.
Biostar M7MIA AMD 761 Socket A ATX MB w/SoundBiostar M7MIA AMD 761 Socket A ATX MB w/Sound ** Biostar M7MIA Socket A ATX Motherboard **This Biostar M7MIA socket A ATX motherboard features the AMD 761 chipset and supports socket A AMD Athlonand Duron CPUs up to 1.4 GHz. Two 184-pin DIMMsockets support up to 2 GB of RAM. There's plentyof room for expansion with oneISA slot, one AGPPro slot, and five PCI slots! Get yours today!General Features:- AMD 761 chipset- Socket A- ATX form factor- Supports up to 2 GB RAM- AC97 audio codecExpansion slots:- Two (2) 184-pin DIMM sockets- One (1) ISA slot- One (1) AGP Pro slot- Five (5) PCI slotsI/O Ports:- Two (2) PS/2 ports- Two (2) USB ports- Two (2) 9-pin Serial ports- One (1) Parallel port- One (1) Game/MIDI port- Mic in, Line in, Line out jacksSupported Processors:- AMD Athlon and Duron CPUs up to 1.4 GHz- 200/266 MHz System Bus Regulatory Approvals:- FCC- CERetail Package Includes:- Biostar M7MIA Socket A ATX Motherboard Only Compatibility/Requirements/Disclosures: ** Requirements *** ATX case* ATX power supply rated for AMD Athlon XP processors* Supported processor* Supported RAM* Rest of System More ...
3x3-Inch 12VDC Box Type Fan - No Connector3x3-Inch 12VDC Box Type Fan - No Connector ** 3x3-Inch 12VDC Box Type Fan - No Connector **- Sunon KDE1208PTBX-6A DC12V 4.3W- Three wire - tinned leads - 12 - 2 13/16 sq. (Fan measurements are from the mounting hole centered and squared) - 1 thick More ...
Black Ink Catridge for Canon PrintersBlack Ink Catridge for Canon Printers ** Black Ink Catridge for Canon Printers **For superior print quality, get yourself this black ink printer cartridge! It's compatible with Canon S200, S300, and SD200SP printers. Get yours today!General Features:- Black ink cartridge- Compatible with most Canon Printers- Easy to installSupported Canon Printers:- S200- S300- S200SPRetail Package Includes:- Black Ink Catridge for Canon Printers Compatibility/Requirements/Disclosures: ** Requirements *** Supported Printers More ...
PCI to PCMCIA Carbus AdapterPCI to PCMCIA Carbus Adapter ** PCI to PCMCIA Carbus Adapter **This PCI to Cardbus adapter is just one example of the great values available from I Sell! It allows the use PCMCIA Cardbus cards on desktop computers with an available PCI slot. Featuring a Ricoh E5C485 chipset, it allows access to Type I, II, or III PCMCIA cards!General Features:- PCI interface- Ricoh R5C485 chipset- Support 16-bit and 32-bit PC card- 3.3 V or 5 V Power LED- Supports Type I/II/III Cardbus/PCMCIA cardsRegulatory Approvals:- FCC- CE- C-TickRetail Package Includes:- PCI to PCMCIA cardbus adapter- User guideNotes:- UPC: 8 93049 00084 7 Compatibility/Requirements/Disclosures:** Requirements *** Windows 98SE/ME/2000/XP* Floppy drive (if driver installation is needed)* Available PCI slot More ...
Snap! 12,000 RecipesSnap! 12,000 Recipes Have limitless cooking ideas at your fingertips with Snap! 12,000 Recipes. With a wide variety of main courses, appetizers, desserts, light cooking dishes, foreign cuisine, and seafood recipes you'll always have a delicious meal at home. Windows 95/98/ME/2000/XP More ...
Richard Scarry's BusytownRichard Scarry's Busytown Busytown is roaring with activity! Take the Apple Chopper for a ride and land on the building you'd like to explore. Discover fun and amazing adventures at each stop. Children learn to name each item they see in the vivid graphic displays and animations. Hours of fun are waiting for you in Richard Scarry's Busytown! Windows 95/98/2000/ME/XP and MAC More ...
|