原创 win7中idea2019版中中文字體大小不一歪歪扭扭解決方案呢(摘)

win7中idea2019版中中文字體大小不一歪歪扭扭解決方案呢 以下是解決方案鏈接: 解決方案

原创 Verify the connector's configuration, identify and stop any process that's listening on port 7060

Verify the connector’s configuration, identify and stop any process that’s listening on port 7060, or configure thi

原创 IDEA-Maven的Dependencies中出現紅色波浪線(摘)

IDEA-Maven的Dependencies中出現紅色波浪線 補充: 將dependencies以及build標籤全部註釋掉,再mvn clean ,然後將註釋掉的內容解開即可。

原创 希爾排序-c語言實現

/**將一組數從小到大進行排列**/ #include <stdio.h> int shellSort(int a[], int n) { int i,j,d,key = 0; d = n/2;//取間隔值 wh

原创 學習 UNIX網絡編程卷1:套接字 筆記1-實現一個簡單的回射客戶服務器程序

一:客戶端程序 1、頭文件:unp.h #ifndef _unp_h #define _unp_h #include <sys/types.h> /* basic system data types */ #include <sys/

原创 Linux下Python遞歸文件目錄

#!/usr/bin/python3 import os import sys def scan(path): for x in os.listdir(path): newpath = os.path.join(p

原创 realloc函數的簡單應用-c語言程序

程序一: #include <stdio.h> #include <stdlib.h> int main() { int i = 0; int *member = (int *)malloc(sizeof(int)*50

原创 枚舉、結構體、聯合體的簡單應用程序-C語言

#include <stdio.h> //圖元的類型 enum SHAPE_TYPE{ RECT_TYPE = 0, CIRCLE_TYPE = 1, TRIANGLE_TYPE = 2, SHAPE_N

原创 ASCII值與字符相互轉換程序

#include <stdio.h> #include <string.h> #include <strings.h> #include <stdlib.h> /**chartoasc:char -> ascii**/ int chart

原创 學習靜態鏈接庫、動態鏈接庫的創建

momo@momo /home/momo/myfile/mydev/cc/socket/clien % ll 總用量 68K -rwxr-xr-x

原创 利用二分法從有序表中查找某個數值-C語言

/**二分法查找有序表(從小到大)中的某個值**/ #include <stdio.h> #include <stdlib.h> int binary_search(int key, int *a, int n) { int i

原创 malloc的簡單使用-c語言程序

#include <stdio.h> #include <stdlib.h> void *func() {     void *ptr = NULL;     ptr = malloc(100);     printf("%p\n",

原创 冒泡排序-C語言

/**冒泡排序,從小到大進行排序**/ #include <stdio.h> int maopaoSort(int a[], int n); int main() { int i=0; int a[20]; pr

原创 centos7搭建Elasticsearch

1.安裝配置 (1).從官網下載安裝包,官網鏈接:elasticstack官網 (2).解壓縮 (3).修改配置文件 elasticsearch.yml: cluster.name: centos-es node.name: no

原创 jar中沒有主清單屬性之解決方法

在pom文件中添加以下內容即可: <plugin> <groupId>org.apache.maven.plugins</groupId> <art