Visual C++: Exemple d’utilisation de la boucle for

Author:


Download

// MesExemples3.cpp : 

#include "stdafx.h"
using namespace System;

Int32 main(void)
{
	for (Int32 i = 0; i < 10; i++)
	{
    Console::WriteLine ( i );
	}

	 Console::WriteLine ( "Sauter un pas sur chaque boucle " );
	// Modifier la valeur de la boucle pendant l'itération
	for (Int32 i = 0; i < 10; i++)
	{
    i++;
    Console::WriteLine ( i );
	}


	Console::ReadLine();

    return 0;
}


2 thoughts on “Visual C++: Exemple d’utilisation de la boucle for”

  1. Does your site have a contact page? I’m having a tough time locating it but, I’d like to shoot you an email.

    I’ve got some ideas for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it develop over time.

Leave a Reply to Wilfredo Cancel reply

Your email address will not be published. Required fields are marked *