一、在Linux下的C语言编程所需工具(下面所列举的都是我编程所用的工具) 1.文本编辑器 Vim 2.编译链接工具 gcc 3.调试器 gdb 4.项目管理工具 make和makefile 二、VIM文本编辑器的模式和配置 vim有三种模式,分别是命令行模式,插入模式,还有底行模式 命令行模式(用 ...
分类:
编程语言 时间:
2021-02-15 12:38:34
阅读次数:
0
Vim编辑器详解 三种模式 命令模式 按下 I 进入编辑模式 insert 按下: 进入底线命令模式 需要先退出编辑模式 按下 x 删除光标字符 编辑模式 按下 ESC 退出编辑模式 底线命令模式 w 写入 q 退出 按键说明 除了上面简易范例的 i, Esc, :wq 之外,其实 vim 还有非常 ...
分类:
系统相关 时间:
2021-02-15 12:34:03
阅读次数:
0
原题 1 class Solution: 2 def searchRange(self, nums: List[int], target: int) -> List[int]: 3 ans,lens = [-1,-1],len(nums) 4 left,right,flag = 0,lens - 1 ...
分类:
编程语言 时间:
2021-02-15 12:26:30
阅读次数:
0
1、首先,用vim打开一个二进制文件 # vim main 此时看到的是乱码: 然后按“shift+:”进入命令模式,输入“%!xxd”,回车 该二进制文件就以16进制的形式展现出来了: ...
分类:
系统相关 时间:
2021-02-10 13:26:09
阅读次数:
0
安装好Tomcat9之后,执行./start.sh启动时没有报错,但是在浏览器中打不开Tomcat的页面。而且在执行./shutdown.sh关闭服务器时报告了这样一个错误:
Tomcat9 Error: Could not find or load main class org.apache.ca... ...
分类:
Web程序 时间:
2021-02-10 13:16:40
阅读次数:
0
This time, you are supposed to find $A+B$ where $A$ and $B$ are two polynomials. Input Specification: Each input file contains one test case. Each cas ...
分类:
其他好文 时间:
2021-02-10 13:03:20
阅读次数:
0
Given the root of a binary tree, return the leftmost value in the last row of the tree. Example 1: Input: root = [2,1,3] Output: 1 Example 2: Input: r ...
分类:
其他好文 时间:
2021-02-10 12:54:11
阅读次数:
0
#creation:2021-02-02#Define variabledate=`date +%Y%m%d`basedir=/data2/backup#Create cd $basedirmkdir rmanbak0_$date#delete expire document#find $based ...
分类:
其他好文 时间:
2021-02-09 11:53:37
阅读次数:
0
vim ping.sh ping -c2 $1 &> /dev/null //-c2表示运行2次, $1代表变量 if [ $? -eq 0 ];then // $?表示判定上句命令是否正确 0表示正确 1错误 // -eq表示 等于= echo "$1 is up" else echo "$1 i ...
分类:
其他好文 时间:
2021-02-08 12:36:08
阅读次数:
0
https://blog.csdn.net/czc9309/article/details/80304074 PS:从eclipse刚转到IDEA,对于这个陌生的工具我表示无言,但听说很好用,也就试试,结果我几乎花了一晚上的时间才搭起来maven web项目,觉得在此给各位一个搭建maven web ...
分类:
Web程序 时间:
2021-02-08 12:19:16
阅读次数:
0