野山羊隨手記錄
Easily record notes and simply write down random things.
野山羊的網頁清單
(移至...)
回到首頁
初級英文筆記(Junior English Grammar Note)
▼
2024年7月1日 星期一
有2、3、4、5、6個數字,能組成多少種互不相等且並無重複這幾個數字的四位數數字,共有多少個?
›
#include <stdio.h> int main () { int i, total; total = 0 ; for (i = 0 ; i < 10000 ; i ++ ) { if (...
將字串反向列印, 並做位置對調
›
#include <stdio.h> char * swap_str ( char * str) { int i, tmp, max; i = 0 ; while (str[i] != ' \0 ' ) ...
簡單的將字串反向列印, 不做位置對調
›
#include <stdio.h> int main () { char * str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" ; // char *str = "9876543210...
Function pointer and type define
›
#include <stdio.h> void test_fun1 ( int input , int tmp ) { printf ( " %s ( %d )... %d\n " , __FUNCTION__, input , t...
用數字劃出菱形由小(邊)至大(中心)
›
#include <stdio.h> void draw_triangle_fun ( unsigned int length , unsigned int width ) { unsigned int t_w , t_l ; ch...
›
首頁
查看網路版