- 博客(22)
- 收藏
- 关注
原创 编译原理-仅供参考
实验目的1)理解LR(0)分析的原理;2)掌握LR(0)分析识别符号串的方法;3)掌握LR(0)分析表的运用;4)能够编写程序实现LR(0)语法分析;实验要求:1)理解和掌握LR(0)文法的判断和分析过程。2)本实验要求设计一个LR(0)语法分析程序。3)本实验要求自己独立完成,不允许抄袭别人的实验结果。4)用C#或JAVA语言实现;实验报告以及实验程序的提交:1)在实验任务截止时间以前将实验程序和实验报告的word文档打包上传超星网络教学平台。2)每个同学的文件压缩包命名为:学号_
2021-08-16 12:24:12
528
原创 Vue+Vant移动端娱乐网站搭建
Vue+Vant移动端娱乐网站搭建运行截图电影新闻音乐部分代码news.vue<template> <div> <van-card :desc="item.hint" :key="index" :thumb="item.images[0]" :title="item.title"
2021-08-16 12:17:57
359
2
原创 网吧管理系统(javafx)
网吧管理系统(javafx)运行截图如下配置文件折扣、登录密码<?xml version="1.0"?><config> <Id>Admin</Id>> <Password>admin</Password>> <BecomeVip>100</BecomeVip>> <VVipComputer>4</VVipComputer&g
2021-08-16 12:05:51
1495
2
原创 文件查找器
文件查找#include <io.h> //_finddata_t的头文件#include <iostream>#include <fstream>#include <cstring>#include <stdio.h> #include <windows.h>using namespace std;int choice=1; void findAllFile(char * path, char * format)
2021-08-16 11:34:38
658
原创 最短路径(C语言)
数据结构#include<stdio.h>#include<windows.h>#include<stdlib.h>#include<math.h>int minStep=-1;int Map[30][30];int Book[30][30];//标记该点是否走过 //队列先进先出 从队首加入新元素 struct Queue { int nums = 0;//该队列所含的元素数量 int x,y; int data; int
2021-08-16 11:28:42
725
原创 遇到得各种错误(解决方法)
https://jingyan.baidu.com/article/08b6a59172b37e14a80922bf.html(Whitelabel Error Page)
2020-05-28 21:51:44
874
转载 Maven配置(+配置IDEA)
Maven配置:https://www.cnblogs.com/xihehua/p/9639045.html(转载)
2020-05-25 22:57:02
143
转载 java 如何将字节数组对应的数据转换成字符
源地址:https://wenwen.sogou.com/z/q725994295.htmStrint str = new String(bytes); //.java 文件默认的编码Strint str = new String(bytes, “utf-8”); //unicode 2位Strint str = new String(bytes, “gbk”); //中文简体...
2020-03-12 17:00:07
197
转载 java double精度问题(转载)
在使用Java,double 进行运算时,经常出现精度丢失的问题,总是在一个正确的结果左右偏0.0000**1。 特别在实际项目中,通过一个公式校验该值是否大于0,如果大于0我们会做一件事情,小于0我们又处理其他事情。 这样的情况通过double计算出来的结果去和0比较大小,尤其是有小数点的时候,经常会因为精度丢失而导致程序处理流程出错。文章来源:https://blog.youkuaiyun.com/jd...
2019-10-11 18:34:19
632
原创 c++函数的重载
#includeusing namespace std;int fun(int x);//平方int fun(int x,int y);//乘积int fun(int x,int y,int z);//和int main(){int x;x=fun(2);cout<<x<<endl;x=fun(2,5);cout<<x<<end...
2019-09-08 11:51:07
161
原创 C语言判断鼠标的实时位置(单位为像素)
#include<windows.h>#include<stdio.h>int main(){POINT curpos;while(1){GetCursorPos(&curpos);printf(“x:%d,y:%d”,curpos.x,curpos.y);Sleep(300);//用户可以自己调整printf("\n");}}...
2019-09-08 11:47:40
532
原创 python爬取代理ip
爬取代理ipimport urllib.requestimport timeimport reimport randomdef change_ua():##随机的uauser_agents=[“Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; AcooBrowser; .NET CLR 1.1.4322; .NET CLR...
2019-09-07 23:31:19
166
1
原创 C语言基于easyx的打字训练软件。
和同学一起做的程序。程序运行部分截图:程序代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <time.h>#include <string.h>#include <graphics.h>#include <windows.h>#include &...
2019-09-07 17:00:41
1909
5
原创 C语言五子棋(基于easyx)基础版
棋盘图片(https://img-blog.csdnimg.cn/20190907163147223.gif)#include<graphics.h>#include<stdio.h>#include<windows.h>int chess[35][35];//棋盘 10开始 黑1 白2 点的位置(x25,y25) +15int judge(int ...
2019-09-07 16:33:47
2769
9
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人