Wednesday, 16 September 2015

Fake Home Work(do not try this at school)



















#include<iostream>
#include<windows.h>
#include<string.h>
using namespace std;
int main()
{   cout<<"calmchicken";
    char ge[500];
    cout<<"\n\t\t\tEnter your lines(max limit 500):";
    cin.getline(ge,500);
    int x=strlen(ge);
    int xtime=0;
    while(xtime<100)

     {

        cout<<"\n"<<++xtime<<",";
        cout.write(ge,x);
        Sleep(150);
     }
}

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete