On Wed, 2 Feb 2005 04:04:04 +0100
Daniele Palumbo <daniele@xxxxxxxxxxxx> wrote:
#include <stdio.h>
#include <stdlib.h>
int main( int argc, char *argv[] ) {
int realloopstart = 0;
int realloopend = 10;
int realcounter;
int fuzzy = rand();
int loopstart = realloopstart + fuzzy;
int loopend = realloopend*2 + fuzzy;
for (int i=loopstart;i<=loopend;i=i+3) {
realcounter = (i - fuzzy)/2;
i=i-1;
printf("counter = %i\n", realcounter);
}
return EXIT_SUCCESS;
}
> - ---------- Forwarded Message ----------
>
> From: shanti <shanti@xxxxxxxxxx>
> To: riminilug-general@xxxxxxxxxxxx
>
> Un esperimento interessante; andate su:
> http://mappoint.msn.com
> scegliete "Directions" (a dx in alto)
> poi inserite:
>
> "Norway" in start
> "Haugesund" in city
> "Norway" in end
> "Trondheim" in city
>
> go!
>
> ...eppure per semplificare le cose ce la mettono tutta:D
>
> Matteo.
> - --
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
|