Monday 14 May 2012

Lecture: 67


                                                Lecture 67

// Loop For
//Drawing a Graphics Character
#include <iostream>
#include <conio.h>
using namespace std;
 main ()
{  
   int n; 
   char ch[5]="\xD9";
   for(n=1;n<40;n++)
        cout<<"\t"<<ch;
     
  getch();
  return 0;
}


Code view in dev compiler:

Compile the program Ctrl+F9

      Run program Ctrl+F10