- 博客(6)
- 收藏
- 关注
原创 头插法建立单链表(C++)
#include <iostream>typedef struct LNode { int data; struct LNode *next;} LNode;void createList(LNode *&C, int arr[], int n) { LNode *s; int i; C = (LNode *) malloc(sizeof(LNode)); C->next = NULL; for (i = 0; i ...
2020-09-22 18:42:37
1658
原创 冒泡排序(c语言)
#include <stdio.h>void bubbleSort(int arr[], int n);void smallBubbleSort(int arr[], int n);int main() { int arr[] = {49, 38, 65, 97, 76, 13, 27, 49}; bubbleSort(arr, 8); for (int i = 0; i < 8; ++i) { printf("%d ", arr[i])...
2020-09-20 17:42:39
165
原创 快速排序(C语言)
#include <stdio.h>void quickSort(int arr[], int i, int j);int main() { int arr[] = {49, 38, 65, 97, 76, 13, 27, 49}; quickSort(arr, 0, 7); for (int i = 0; i < 8; ++i) { printf("%d\n", arr[i]); } return 0;}void qu...
2020-09-20 16:49:13
86
原创 前端绝对路径
(1)<% pageContext.setAttribute("path", request.getContextPath());%>${path}使用(css在webapp下): <link rel="stylesheet" href="${path}/css/bootstrap.min.css">(2)${pageContext.request.contextPath} //项目名...
2020-05-24 21:19:41
403
原创 springmvc在已有页面跳转到一个新页面
函数里写 window.location.href="paper/allPaper"; //引号里为action方法
2020-05-24 21:14:17
832
原创 2020-05-09
Clion CreateProcess error= :216该版本的%1与你运行的Windows版本不兼容。请查看计算机的系统信息,然后联系软件发布者。看网上的帖子没有有用的,自己还是尝试更新了一下计算机系统,然后成功了。...
2020-05-09 18:09:30
123
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人