您的位置:首页 > 教育 > 锐评 > 做跨境电商的步骤_建设个人网站需要多少钱_dy刷粉网站推广马上刷_seo人工智能

做跨境电商的步骤_建设个人网站需要多少钱_dy刷粉网站推广马上刷_seo人工智能

2025/5/4 4:36:40 来源:https://blog.csdn.net/2401_84857706/article/details/144170505  浏览:    关键词:做跨境电商的步骤_建设个人网站需要多少钱_dy刷粉网站推广马上刷_seo人工智能
做跨境电商的步骤_建设个人网站需要多少钱_dy刷粉网站推广马上刷_seo人工智能

好耶是新系列

#include<windows.h>
#include<bits/stdc++.h>
using namespace std;
POINT p;
HANDLE hOutput = GetStdHandle(STD_OUTPUT_HANDLE);
HWND h=GetForegroundWindow();
CONSOLE_FONT_INFO consoleCurrentFont;
int X,Y,jg;
bool f;
void G(int x,int y){COORD pos={x,y};HANDLE hOut=GetStdHandle(STD_OUTPUT_HANDLE);SetConsoleCursorPosition(hOut,pos);return;
}
void S(int ForgC, int BackC) {WORD wColor = ((BackC & 0x0F) << 4) + (ForgC & 0x0F);SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), wColor);
}
void HC(){CONSOLE_CURSOR_INFO cur={1,0};SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE),&cur);
}
void SC(){CONSOLE_CURSOR_INFO cur={1,1};SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE),&cur);
}
int main(){system("mode con cols=50 lines=20");HC();srand(time(0));HANDLE hStdin = GetStdHandle(STD_INPUT_HANDLE);DWORD mode;GetConsoleMode(hStdin, &mode);mode &= ~ENABLE_QUICK_EDIT_MODE;SetConsoleMode(hStdin, mode);X=rand()%47+2;Y=rand()%17+2;while(1){POINT p;GetCursorPos(&p);ScreenToClient(h,&p);GetCurrentConsoleFont(hOutput, FALSE, &consoleCurrentFont);int x=p.x/=consoleCurrentFont.dwFontSize.X;int y=p.y/=consoleCurrentFont.dwFontSize.Y;if(x>1&&x<50&&y>1&&y<20&&x!=X&&y!=Y) {  G(x,y);cout<<".";}if((x==X||x==X+1)&&y==Y){f=true;	}else f=false;if(GetAsyncKeyState(VK_LBUTTON)){if((x==X||x==X+1)&&y==Y){G(X,Y);cout<<"  ";X=rand()%47+2;Y=rand()%17+2;}}Sleep(10); G(x,y);cout<<" ";G(X,Y);if(f)S(9,0);else S(14,0);cout<<"按"; S(15,0);if(jg!=0)jg--;}return 0;
}

你管他是啥,“好用就行”

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com