要解决什么问题: man objdump, 想搜个选项, 半天跳不到那里去, less可以搜索, 但是/-d, 有别处引用它的, 有时候根本不是, 只是恰好也有-d这部分. 如果是/^\d$, 根本搜不到. 猜测是有空格 但是/\s-d\s也还是搜不到(搜到的都是别处引用它的).那应该怎么搜索呢? ...
分类:
其他好文 时间:
2021-02-22 12:32:12
阅读次数:
0
[root@op-benchmark-216 ~]# cat /etc/dhcp/dhcpd.conf # dhcpd.conf # # Sample configuration file for ISC dhcpd # # option definitions common to all supp ...
分类:
其他好文 时间:
2021-02-20 12:34:38
阅读次数:
0
思路分析 和分行从上到下打印二叉树本质上是一样的,只不过奇数行是从左到右打印,偶数行是从右到左打印. cpp /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * Tre ...
分类:
其他好文 时间:
2021-02-19 13:33:14
阅读次数:
0
问题 给定单向链表的头指针和一个要删除的节点的值,定义一个函数删除该节点。 // Definition for singly-linked list. struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next( ...
分类:
其他好文 时间:
2021-02-19 13:10:31
阅读次数:
0
我的第九个代码 #define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h> struct Book{char name[20];short int price;}; int main(){struct Book b1 = { "C语言程序设计",45 };p ...
分类:
其他好文 时间:
2021-02-19 12:52:44
阅读次数:
0
这是做winform程序是使用DataGridView控件时遇到的坑,因为一开始绑定的是list<struct>的值类型的数据作为数据源,后面就导致了各种问题,比如不能修改list集合中某一项中的某一个属性的值,必须借助new new一个第三方struct类型对象将list中的那一项替换。 这些还好 ...
struct BinaryTreeNode { int m_nValue; BinaryTreeNode* m_pLeft; BinaryTreeNode* m_pRight; }; bool HasSubTree(BinaryTreeNode* pRoot1, BinaryTreeNode* pR ...
分类:
其他好文 时间:
2021-02-18 13:43:33
阅读次数:
0
Rust模块化 模块化有助于代码的管理和层次逻辑的清晰 Rust模块化有多种方式: 1.嵌套模块 嵌套模块就是直接在要使用模块的文件中声明模块 mod food{//声明模块 pub struct Cake; pub struct Smoothoe; pub struct Pizza; } use ...
分类:
其他好文 时间:
2021-02-18 13:35:09
阅读次数:
0
IDEA 警告 No archetype found in remote catalog. Defaulting to internal catalog 新建Maven项目,遇到警告: No archetype found in remote catalog. Defaulting to inter ...
分类:
其他好文 时间:
2021-02-18 13:05:15
阅读次数:
0
正题 题目链接:https://www.ybtoj.com.cn/problem/893 题目大意 给出一张$n$个点$m$条边的无向联通图,每条边正反向各有$A,B,C$三种边权。 保证满足 \(A_{x,y}=-A_{y,x}\ ,\ B_{x,y}=B_{y,x}\ ,\ C_{x,y}=-C ...
分类:
其他好文 时间:
2021-02-18 12:55:29
阅读次数:
0