原创 提高篇第2-5課第二題
#include <stdio.h> #include <stdlib.h> //第二題 double f(double x); //這一句是對自定義函數f的聲明 int main( ) { double x;
原创 提高篇第20-21課第三題
#include <stdio.h> #include <stdlib.h> #define SIZE 10 //第三題,數組排序和插入數據後再排序 int main() { int i, j; int temp,n,key; in
原创 提高篇第16-19課第四題
#include <stdio.h> #include <stdlib.h> //第四題 int main() { char c[4] = { 'H', 'S', 'D', 'C' }; int v[13] = { 1, 2, 3,
原创 第16-19課作業第一題
第一小題 #include <stdio.h> #include <stdlib.h> //第一題,第一小題 int main() { int i; int a[20] = {1,2,3,4,5,6,7,8,9,0}; //初始化
原创 提高篇第20-21課第四題
#include <stdio.h> #include <stdlib.h> //第四題,冒泡排序法 int main() { double salary[500]; double temp_num; int i,j; FILE
原创 BASH練習第四課
一、完成以下任務: (1)新建系統組mysql;新建系統用戶mysql,要求其沒有家目錄且shell爲/sbin/nologin; (2)新建GID爲600的組jiuren;新建用戶gentoo,
原创 BASH腳本第五課
Grep 練習 文件名grepfile +++++++++++++++++++++++++++++++++++++ Steve Blenheim:238-923-7366:95 Latham Lane,
原创 Loadrunner支持MD5加密腳本的編寫
char orSignMD5[500]; char orSignMD5str[32]; char time_str[20]; char orSignMD5str_dll[40]; Action() { typedef long
原创 BASH腳本第六課
1、某遊戲的客戶端每隔5分鐘會向服務端報告一次玩家的賬戶積分,如果兩次報告的時間間隔不大於5分鐘,認爲該玩家在這5分鐘內在線,假設報告數據的格式如下:IP Datetime
原创 提高篇第28-31課第三題
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> //第三題 void cpyStr0(char str1[], char str2
原创 提高篇第28-31課第二題
#include<stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> //第二題 int Count_A(char a[]); int Count_alpha(
原创 提高篇第26-27課第二題
第一小題 #include<stdio.h> #include<stdlib.h> #define N 10 //第二題,刪除元素 int del(int array[], int len, int num); int main() {
原创 自學selenium練習題第四節-頁面元素基本操作
package selenium.test; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; im
原创 提高篇26-27課第四題
#include<stdio.h> #include<stdlib.h> #define SIZE 200 //第四題 int readData(int a[], int b[]); void sort(int a[], int b[],
原创 提高篇第26-27課第三題
#include<stdio.h> #include<stdlib.h> //第三體,整型,字符型冒泡排序,選擇排序 void bubble_sort(int array[],int len); void output_array(int