= =求一flash大神,来个表白视频,可编辑版!

黑店 发布于 2015/04/13 21:07
阅读 475
收藏 0
为了宅男们的幸福,为了有更多的小IT男的诞生,来一枚flash大神 做一个表白视频,一定要可编辑版的,因为你我爱的人肯定不一样对吧!
加载中
0
球球来也
球球来也

搬运自百度

// ConsoleApplication1.cpp : 定义控制台应用程序的入口点。
//


#include "stdafx.h"
#include <iostream>
#include <windows.h>
using namespace std;
#define N 50
HANDLE hConsole;
void gotoxy(int x, int y)
{
COORD coord;
coord.X = x;
coord.Y = y;
SetConsoleCursorPosition(hConsole, coord);
}
void Sprint(int x, int y)
{
gotoxy(x, y);
cout << "*";
Sleep(N);
}
void print(int x, int y)
{
gotoxy(x, y);
cout << "*";
}
int main()
{
int i, j, k;
hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(hConsole, FOREGROUND_RED | FOREGROUND_BLUE | FOREGROUND_INTENSITY);
for (k = 0; k<3; k++)
{
gotoxy(4, 6);
for (i = 0; i<11; i++)
{
cout << "*";
Sleep(N);
}
for (i = 0; i<12; i++)
{
Sprint(9, 7 + i);
}
gotoxy(4, 18);
for (i = 0; i<11; i++)
{
cout << "*";
Sleep(N);
}
Sprint(36, 10);
Sprint(25, 10);
Sprint(47, 10);
Sprint(34, 8);
Sprint(38, 8);
Sprint(30, 7);
Sprint(42, 7);
Sprint(27, 8);
Sprint(45, 8);
Sprint(25, 11);
Sprint(47, 11);
for (i = 1, j = 1; i<6, j<6; i++, j++)
{
Sprint(25 + i, 11 + j);
}
Sprint(32, 17);
Sprint(34, 18);
for (i = 1, j = 1; i<6, j<6; i++, j++)
{
Sprint(47 - i, 11 + j);
}
Sprint(40, 17);
Sprint(38, 18);
Sprint(36, 19);
for (i = 0; i<11; i++)
{
Sprint(59, 6 + i);
}
Sprint(61, 17);
for (i = 0; i<11; i++)
{
Sprint(63 + i, 18);
}
Sprint(74, 17);
Sprint(76, 16);
for (i = 0; i<10; i++)
{
Sprint(76, 15 - i);
}
system("cls");
}
while (1)
{
gotoxy(4, 6);
for (i = 0; i<11; i++)
{
cout << "*";
}
for (i = 0; i<12; i++)
{
print(9, 7 + i);


}
gotoxy(4, 18);
for (i = 0; i<11; i++)
{
cout << "*";
}
print(36, 10);
print(25, 10);
print(47, 10);
print(34, 8);
print(38, 8);
print(30, 7);
print(42, 7);
print(27, 8);
print(45, 8);
print(25, 11);
print(47, 11);
for (i = 1, j = 1; i<6, j<6; i++, j++)
{
print(25 + i, 11 + j);
}
print(32, 17);
print(34, 18);
for (i = 1, j = 1; i<6, j<6; i++, j++)
{
print(47 - i, 11 + j);
}
print(40, 17);
print(38, 18);
print(36, 19);
for (i = 0; i<11; i++)
{
print(59, 6 + i);
}
print(61, 17);
for (i = 0; i<11; i++)
{
print(63 + i, 18);
}
print(74, 17);
Sleep(100);
print(76, 16);
for (i = 0; i<10; i++)
{
print(76, 15 - i);
}
gotoxy(25, 22);
Sleep(1000);
system("cls");
}
return 0;
}




返回顶部
顶部