自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 在数据结构中的代码学习之——链表

线性表中的单链表typedef struct LNode{Elemtype data;struct LNode *next;}LNode,*Linklist;双链表typedef struct DLNode{Elemtype data;struct DLNode *next;struct DLNode *prior;}DLNode;假设有n个元素已经存在数组a中,用尾插法建立链表C尾...

2018-06-12 12:42:58 201

原创 一些C++小程序(二)

//构造一个学生的结构体#include #include #include using namespace std;struct Student { int num; string name; char sex; int age;};int main(){ Student stu = { 97001,"LinLin",'F',19 }; cout << "NUM:"

2017-11-27 22:39:43 751 2

原创 一些C++的小程序(一)

输出hello word#include using namespace std;int main(){ cout << "hello,word\n"; return 0;}查找int的空间大小#include using namespace std;int main(){ cout << "The size of an int is :\t

2017-11-27 22:31:35 2840

原创 一个小爬虫 从网页获取信息(图片下载)

一个小爬虫从贴吧中批量获取图片import reimport urllibdef getHtml(url): page=urllib.urlopen(url) html=page.read() return htmlprint getHtml("http://tieba.baidu.com/p/4926599520?red_tag=v1481313036")这个会自动获取

2017-04-30 19:41:32 403

原创 第一个照着书写了一段代码,但就是两段代码无法使用,成独立的了:(

这个在学习一个类模块的时候创建的两个python的脚本文件,一个文件是包含定义Product类的代码,另一个是则包含将使用这个类的脚本。class Product: def __init__(self,description,price,quantity): self.__description = description self.__price=pric

2017-04-08 13:35:09 352

原创 时隔八年终于开了第二个博客,前面一个163夭折了

在写下这一篇的时候,已经是断断续续学了几个月的python,但效果不好,准备取回记忆重新开始学一遍。 距离重新取回记忆开始学习python已经一个半月了,已经到了不得不开始编程之旅了。 虽然我并不是CS,但是也准备在研究生的时候跨到CS去,加油吧。

2017-04-08 13:23:13 274

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除