热门

最新

红包

立Flag

投票

同城

我的

发布
laoj666
laoj666
4 年前
truelaoj666

重新学习编程的第五天
#include<graphics.h>
#include<Windows.h>

int main(void)
{
initgraph(600,400);
settextstyle(30, 0, _T("微软雅黑"));
settextcolor(RGB(225, 225, 0));
loadimage(0,_T( "bg.jpg"));//加载图片

rectangle(300,40,550,80);
outtextxy(310, 45,_T( "1-网站404攻击"));

rectangle(300, 100, 550, 140);
outtextxy(310, 105, _T("2-网站篡改攻击"));

rectangle(300, 160, 550, 200);
outtextxy(310, 165, _T("3-网站攻击修改"));

rectangle(300, 220, 550, 260);
outtextxy(310, 225, _T("4-查询记录"));

rectangle(300, 280, 550, 320);
outtextxy(310, 285, _T("5-退出"));

system("pause");

closegraph;


}

需要加_T()在课上没有说,但是VS2019的easyX需要加这个,不然会报错,记住!!!

CSDN App 扫码分享
分享
1
点赞
打赏
  • 复制链接
  • 举报
下一条:
《架构整洁之道》之架构设计考古:空间交换技术
立即登录