Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript Site
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


 

 

 

Description

Shows how to decrement values in a for statement.

Code


#include <stdio.h>


int main()
{
int count;
for(count = 10;count>=1 ;count--)
printf("%d.\n",count);
printf("BLAST OFF!!!.\n");
return 0;
}

Information

tested using LCC Win 32

 

 

 

 

Download

negativefor.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
Show all of a files attributes(ASP)
operating system info(VB)
change text in a string(php)
a directory lister(PHP)
Random URLs(PHP)
Degrees / Radians conversions(PHP)
Add to de.licio.us(php)
get current process info(VB)

    




Copyright © 2003 by programmershelp.co.uk