原创 矩陣最短路徑-動態規劃算法

#include<limits.h> #include<stdio.h> #include<stdlib.h> #include<string.h>   #define MIN_VAL(x, y) ((x) > (y) ? (y) : (

原创 二叉樹的實現

/********************************************************* * Description:參

原创 逆矩陣算法三

# include "stdio.h"  # define M  3  void main (  )   {    float MAT[M][2*M

原创 常用排序算法彙總(C版)

/*************************************************************************

原创 單鏈表的各種操作

/*單鏈表的各種操作*/ # define null 0 typedef char ElemType; /* 字符型數據*/ typedef str

原创 PPPOE撥號過程

索引 日 志 內 容 1 1738:發送PADR. 2 1738:接收PADS,Session-ID=0x361D,AC-MAC=286ED421146A. 3 1738:LCP tx Req,MRU=05D4;Magic=0001A9

原创 C語言讀寫配置文件

/************************************************************************/

原创 線性化二叉樹

#include<stdio.h> #include<stdlib.h> struct node {int data;struct node *lh

原创 逆矩陣算法一

#include "stdio.h"  float z[4][4],*y=z;   /*定義一個全局二維數組用來存放N-1階餘子式,因爲A的伴隨矩陣

原创 逆矩陣算法二

#define N 5      /*[注]:修改6爲你所要的矩陣階數*/  #include "stdio.h"  #include "conio.h"  /*js()函數用於計算行列式,通過遞歸算法實現*/  int js(s,n) 

原创 vscode大括號不換號-if while swicth

https://marketplace.visualstudio.com/items?itemName=agauniyal.cpp-snippets            

原创 mingw官網安裝完畢後如何繼續安裝gcc、g++、gdb?

mingw-w64.bat mingw-w64 uninstall.exe uninstall.ini 1、官網下載安裝後有上面四個文件,需要繼續安裝gcc  gdb; 2、雙擊mingw-w64.bat 3、mingw-get inst

原创 android studio通過adb連接華爲mate20方法

1、華爲mate20開啓USB調試模式 2、android studio在SDK manager頁面按照google USB driver 3、在csdn下載adb程序platform-tools_r28.0.1-windows 4、設置

原创 Linux-網橋原理分析(二)

4 網橋的實現 在內核,網橋是以模塊的方式存在,註冊源碼路徑:\net\brige\br.c: 4.1 初始化   static int __init br_init(void){     br_fdb_init(); //網橋數據庫初

原创 Linux-網橋原理分析(三)

5網橋數據結構 網橋最主要有三個數據結構:struct net_bridge,struct net_bridge_port,struct net_bridge_fdb_entry,他們之間的關係如下圖: 展開來如下圖: 說明: 1.