- 博客(14)
- 收藏
- 关注
原创 JAVA的基本语法。
开始学习翁恺老师的JAVA的零基础的教程 应该比较快。为了赶进度。本次笔记需要一点时间。 首先是输入输出 package hello; import java.util.Scanner; public class first { public static void main(String[] args) { int i=0; Scanner in = new Scanner(System.in); System.out.println("repea
2020-09-09 23:50:02
103
原创 堆栈的学习
多重链表,堆栈,队列的学习 在大部分整理完链表的基本操作后, 现在进行进阶学习的基本, 一,多重链表。 在定义结构时,引入新的概念 enum,union enum简单来说是typedef的升级版本。 enum可以对多个变量进行定义和替换 union是与struct有很大的区别的 #include <stdio.h> #include <string.h> union tra...
2020-03-24 17:20:23
261
原创 堆栈学习中,四则运算不带括号版
代码如下 #include <stdio.h> #include <stdlib.h> #include <string.h> typedef int elementtype; struct listnode{ elementtype num; char operat[8]; struct listnode* next; }; typedef struc...
2020-03-23 22:16:56
129
原创 链表快速入门,(懂基本的指针用法)
链表的学习 链表是C语言中的重要工具。 现在重新整理和运用。 首先是头文件。 include <stdio.h> include <stdlib.h> 因为要申请空间,所以要用<stdlib.h> 然后就是对结构的定义。 typedef int ElementType; typedef struct Node { ElementType num; str...
2020-03-22 21:52:16
767
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人