#include "iostream.h"

#include "stdio.h"

main()

{

//AIM : to display a charecter on the screen on a row and col

//      using vdumem funda

      char far *vdumem;

      char a;

      int ii,row,col,vduoff;

      cout<<"\nEnter charecter to be printed : ";

      scanf("%c",&a);

      cout<<"\nEnter the row number : ";

      cin>>row;

      cout<<"\nEnter the column number : ";

      cin>>col;

      vduoff=(row*160)+(col*2);

      for(vdumem=(char far*)0xb8000000l,ii=1;ii<vduoff;vdumem++,ii++);

      //netadd=vdubase+(char far*)vduoff;

      *(vdumem-1)=a;

      return 0;

}