chenchang12

导航

2020年8月4日 #

c顺序链表

摘要: #include <stdio.h> #define MAXSIZE 10 #include <stdbool.h> typedef struct{ int data[MAXSIZE]; int length; }SqList; bool initList(SqList *L){ for(int i 阅读全文

posted @ 2020-08-04 20:44 chenchang12 阅读(109) 评论(0) 推荐(0) 编辑

2020年2月21日 #

python 爬课表

摘要: import requests from bs4 import BeautifulSoup from fastapi import FastAPI from starlette.middleware.cors import CORSMiddleware app = FastAPI() origins 阅读全文

posted @ 2020-02-21 10:53 chenchang12 阅读(191) 评论(0) 推荐(0) 编辑

2019年4月16日 #

Java理解的几个误区:

摘要: Java理解的几个误区: 1 构造函数不可以被继承 2 静态属性和静态方法不属于类的一个具体对象 test demo 这才是对象 3 子类可以重新定义从父类继承来的同名方法,不允许它们有不同类型的返回值 4 抽象类可以实例化 阅读全文

posted @ 2019-04-16 11:12 chenchang12 阅读(174) 评论(0) 推荐(0) 编辑

2019年3月28日 #

Java和C++继承比较

摘要: //C++17禁止父类指针指向父类?? Java上转型 可见父类变量和子类覆盖的函数; ``` 阅读全文

posted @ 2019-03-28 15:05 chenchang12 阅读(395) 评论(0) 推荐(0) 编辑

2019年3月23日 #

Python数据简单处理

摘要: ##Python数据简单处理 import numpy as np ''' a=np.array([1,1,2,3,4]) c=np.arange(4) d=np.linspace(1,6,4); print(d) ''' import matplotlib.pyplot as plt x = np 阅读全文

posted @ 2019-03-23 19:58 chenchang12 阅读(262) 评论(0) 推荐(0) 编辑

2019年3月22日 #

Java简单走迷宫

摘要: import java.math. ; import java.util. ; import javax.swing.text.ChangedCharSetException; class Point{ public int x; public int y; public int getx() { 阅读全文

posted @ 2019-03-22 09:43 chenchang12 阅读(641) 评论(0) 推荐(0) 编辑

2019年3月21日 #

C++顺序表

摘要: ``` include define maxsize 10 include using namespace std; class TimeTable{ public:int length ; int table[maxsize] = {0}; TimeTable(){ length=0; } int 阅读全文

posted @ 2019-03-21 23:00 chenchang12 阅读(225) 评论(0) 推荐(0) 编辑

C++链表

摘要: ``` include using namespace std; struct node{ int x; node next; }; class Table{ public: node Head = new node(); int len; void add(int value){ node Nex 阅读全文

posted @ 2019-03-21 22:51 chenchang12 阅读(123) 评论(0) 推荐(0) 编辑

java继承的修饰符

摘要: Java继承规则中的访问控制 方法的继承 Java中子类继承父类方法时,有如下规则: 父类或超类中的public方法,在子类中也必须是public。 父类中的protected方法,在子类中必须是protected或public,不能为private。 父类中private的方法不能被继承。 属性的 阅读全文

posted @ 2019-03-21 22:17 chenchang12 阅读(1311) 评论(0) 推荐(0) 编辑

2019年3月3日 #

Django+vue 给未来写封信

摘要: Django+vue 给未来写封信 ··· 链接 http://144.168.59.162/ 写了一个假期 无数的难题 舒服了 ··· 阅读全文

posted @ 2019-03-03 10:39 chenchang12 阅读(148) 评论(0) 推荐(0) 编辑