Monday, May 16, 2011

Slow Print

/*
Created By Rana Hamid
http://uvacode.blogspot.com/
+8801717623876
http://facebook.com/ranahamid07/
*/

#include<windows.h>
#include<stdio.h>

void slowprintf(char* name, int time);

void slowprintf(char* name, int time)
{
int i=0;
while(name[i]!='\0')
              {
              printf("%c",name[i]);
              Sleep(time);
              i++;
              }
}

int main()
{
    slowprintf("MY NAME IS RANA HAMID..",75);
    Sleep(2000);
}