自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 git命令总结—VS Code上使用

实现在vs code中将代码提交到gitlab上相关的git命令

2024-05-29 14:46:30 493

转载 操作系统实验一 测试系统调用程序代码

//第一个//测试myid系统调用的程序#define _GNU_SOURCE#include <unistd.h>#include <sys/syscall.h>int main(){syscall(294);}//第二个//测试nice_prio系统调用的程序,功能是修改nice和prio值的系统调用功能。#define _GNU_SOURCE#include <unistd.h>#include <sys/syscall.h&gt

2021-06-05 14:56:45 319

原创 操作系统实验一 系统调用代码实现

SYSCALL_DEFINE5(mysetnice,pid_t,pid,int,flag,int,nicevalue,void __user*,prio,void __user*,nice){ struct pid * kpid; struct task_struct * task; kpid = find_get_pid(pid);/* 返回pid */ task = pid_task(kpid, PIDTYPE_PID);/* 返回task_struct */ int n; n = tas

2021-06-05 12:29:47 193 1

原创 密码学课程设计-RSA

#include<iostream>#include<string.h>#include<string>using namespace std;#define SIZE 33#define MULSIZE 2*SIZEtypedef struct Bigint{ unsigned char num[SIZE];}Bigint;typedef struct Bigint2{ unsigned char num[2 * SIZE];}Bigi

2021-05-28 09:59:02 740 3

原创 密码学课程设计--DES

// DES(C++).cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。//#include<iostream> #include<string.h>using namespace std;char m[1000] = { 0 }; //明文 //DES明文每组64个比特,即八个字符char c[1000] = { 0 }; //密文char m1[1000] = { 0 };char k[1000];int bl

2021-05-06 23:11:58 510

原创 c大作业

#include<stdio.h>#include<string.h>#include <stdlib.h>struct drama{ int num; //剧目编号 char name[50]; //剧名 char type[50]; //剧目类型 char time[50]; //演出时间 char location[50]; //演出地点 int

2021-01-04 23:21:15 116

原创 C++ 票务系统

#include<iostream>#include<cmath>#include<stdlib.h>#include<string>using namespace std;void print0() //首页界面{ cout<<"*****************************************"<<endl; cout<<"*

2020-12-22 23:00:13 758

空空如也

空空如也

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

TA关注的人

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