摘要: 801全称为《计算机专业基础》,共五门专业课,包括计算机组成原理、数据结构、计算机操作系统、计算机网络和数字电子技术。点击下列链接查看20年考试内容和参考书目。 西工大计算机仍考801! 我选的科目为计算机操作系统和计算机网络原理。本院用书分别为 《计算机操作系统》汤子瀛等主编 西安电子科技大学出版 阅读全文
posted @ 2021-04-16 15:56 kangobs 阅读(981) 评论(0) 推荐(0) 编辑
摘要: 适用专硕考生 政治 购书 强化三件套《讲真题》+《1000题》+《知识点精讲精练》 冲刺三件套《考点背诵版》+《形势与政策》+《肖8》+《肖4》 其中《讲真题》可以不买。 关注肖秀荣老师的微信公众号,里面有介绍怎么使用这几本书的。 时间表 8月底-9月底 《知识点精讲精练》 9月底-11月中旬《10 阅读全文
posted @ 2021-03-02 20:32 kangobs 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 第一、什么是设计模式? 设计模式是软件设计中常见问题的典型解决方案。 它们就像能根据需求进行调整的预制蓝图, 可用于解决代码中反复出现的设计问题。 设计模式与方法或库的使用方式不同, 你很难直接在自己的程序中套用某个设计模式。 模式并不是一段特定的代码, 而是解决特定问题的一般性概念。 你可以根据模 阅读全文
posted @ 2023-06-20 15:41 kangobs 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 第一讲 语言 C++2.0 新的标准库 #include <iostream> using namespace std; int main() { cout << __cplusplus << endl; return 0; } View Code 确认支持C++11 (1)Variadic Tem 阅读全文
posted @ 2023-06-09 09:35 kangobs 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 第一讲 primitives 第二讲 malloc/free 第三讲 std::allocator 第四讲 other allocators 第五讲 loki::allocator 阅读全文
posted @ 2023-03-06 17:11 kangobs 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 14.转换操作符 转换函数 operator int() const; 注意: 1.必须是成员函数 2.不能指定返回类型 3.形参表必须是空的 4.必须显式地返回一个指定类型的值 5.不应该改变被转换对象,通常定义为const #include <iostream> #include <string 阅读全文
posted @ 2023-03-02 17:02 kangobs 阅读(12) 评论(0) 推荐(0) 编辑
摘要: Remember Understand Practice Use Understand Master 一、STL和泛型编程 C++标准库 C++标准模板库 STL六大部件: 容器(Containers) 分配器(Allocators) 算法(Algorithms) 迭代器(Iterators) 适配 阅读全文
posted @ 2023-02-07 14:53 kangobs 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 实现代码(原创): #include<stdio.h> #include<string.h> #include<stdlib.h> char* itoa(int value, char* str, int radix) { static char dig[] = "0123456789" "abcd 阅读全文
posted @ 2022-12-06 15:35 kangobs 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 代码: #include<stdio.h> struct huobaye{ int x; int y; }; struct stoneye{ int x; int y; }; int abs(int n) { int flag; if(n>=0) flag=n; else flag = -1*n; 阅读全文
posted @ 2022-11-19 21:28 kangobs 阅读(144) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> int main() { int n; scanf("%d",&n); int nums[21]={1,1,1}; int snum[21]={1,1,1}; int i,j,k,h; //从1到n每行分别有1个.....n个 for(i=1;i<=n;i++) 阅读全文
posted @ 2022-11-19 19:41 kangobs 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 一、查找 1.线性表的查找 1.1 顺序查找 1.2 折半查找 1.3 分块查找 2.树表的查找 2.1 二叉排序树 2.2平衡二叉树 LL RR LR RL 红黑树 B-树 B+树 键树 3.哈希表的查找 构造散列函数考虑的因素: 执行速度 关键字的长度 散列表的大小 关键字的分布情况 查找频率 阅读全文
posted @ 2022-11-17 20:14 kangobs 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 问题: File "D:/code/pythonl2/main.py", line 15, in forward while X.abs().sum > 1: TypeError: '>' not supported between instances of 'builtin_function_or 阅读全文
posted @ 2022-10-11 10:32 kangobs 阅读(1323) 评论(0) 推荐(0) 编辑