一个中学学生,
会一些黑客基础知识,
可以做一些简单的渗透,
会用C语言或c++语言,
可以编写简单网页,
会用编程猫、dev c++、python、H5写程序、程序。
比如:
# include<stdio.h>
# include<graphics.h>
# include<conio.h>
# include<stdlib.h>
#define SNAKE_NUM 500
enum DIR //表示蛇的方向
{
UP,
DOWN,
LEFT,
RIGHT,
};
struct Food
{
int x;
int y;
int r;
bool flag;//定义食物是否被吃掉
DWORD color;
}food;
struct Snake
{
int size;
int speed;
int dir;
POINT coor[SNAKE_NUM];
}snake;
void GameInit()
{
//窗口
initgraph(640,480);
//设置随机数种子
srand(GetTickCount());//GetTickCount()获取系统开机 到现在所经过的毫秒数
//蛇
snake.size = 3;
snake.speed = 10;
snake.dir=RIGHT;
for(int i=0;i< snake.size;i++)
{
snake.coor[i].x=30-i*10;
snake.coor[i].y=10;
}
//食物
food.x = rand() % 640;//防止超出窗口
food.y = rand() % 480;
food.color = RGB(rand()%256,rand()%256,rand()%256);//颜色初始化
food.r = rand()%10+5;
food.flag = true;
}
void GameDraw()
{
BeginBatchDraw();
//窗口
setbkcolor(RGB(14,218,
编写小型程序,做过小网页
在学校组织的许多项目得过奖项
比如
:
for li in lis:
dit ={}
data_url = li.css('a::attr(href)').get()
new_url = 'http://www.4399.com' + data_url.replace('http://', '/')
dit[' '] = new_url
title = li.css('img::attr(alt)').get()
dit[' '] = title
print(new_url, title)
#!/usr/bin/env python import pygame,sys,time,random from pygame.locals import * # 定义颜色变量 redColour = pygame.Color(255,0,0) blackColour
#!/usr/bin/env python import pygame,sys,time,random from pygame.locals import * # 定义颜色变量 redColour = pygame.Color(255,0,0) blackColour