Here you will learn how to create for loop in C plus plus. Some times you have to run for loop till condition satisfied.
/*
Name: For Loop in C++
Copyright: SameeArticles.blogspot.com
Author: Samee Ullah Feroz
Date: 19/03/14 13:32
Description: Here you will learn about C++ for Loop system
*/
#include <iostream>
#include <cmath> //it is for all math functions library
int main() //it is actually a function here
{
using namespace std;
int x;
for (x=0; x <=10; x++)
cout << x << endl;
system("pause");
return 0;
}


