- 博客(8)
- 收藏
- 关注
转载 linux下C语言实现对一文件内单词字数的统计
在终端下敲 gcc -g -o filename filename.c ./ filename text.sh #include <stdio.h> #include <string.h> #define ABS(a, b) ((a) > (b))?(((a) - (b)):((b) - (a))) #define RW_OFFSET(r, w, size) (((w) >= (r))?((w)-(r)):((w)+(size)-(r))) #define RW_IDX
2021-06-30 19:40:56 183
转载 如何是虚拟机里的乌班图与主机共享文件
https://www.cnblogs.com/heng-xing/p/13382728.html 以上是步骤 下为问题的解决 https://www.cnblogs.com/sweet-li/p/13613159.html
2021-06-11 08:08:25 161
原创 2
#include <iostream> using namespace std; /* int main() { typedef int queue; queue a, b; typedef int vector;vector v; int i, x,n; scanf("%d",&n); for(i=0; i<n; i++) { cin >> x; if(x%2==0) b.push(x); //进入queue : 变量名.push(
2021-04-19 15:38:23 48
转载 1
#include <iostream> #include <algorithm> using namespace std; int main(){ int n; cin>>n; int a[n],b[n]; for(int i=0;i<n;i++){ cin>>a[i]; } int start=0,end=0,s=0; b[0] = a[0]; for(int
2021-04-17 20:23:12 63
原创 push/pop
#include<bits/stdc++.h> using namespace std; //函数状态码定义 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE -1 #define OVERFLOW -2 typedef int Position; typedef char ElementType; typedef str
2021-04-15 10:25:42 203
原创 嵙小张
#include <bits/stdc++.h> #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE -1 #define OVERFLOW -2 // #include<bits/stdc++.h> using namespace std; typedef int Status; typedef int Elemty
2021-04-14 17:16:52 72
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人