因為phpmyadmin的管理頁面並未在var/www裡,所以要自己執行:
ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
建立一個symbolic link
nanosheep 發表在
痞客邦
留言(0)
人氣()
題目如下:
有一字串陣列:a[ ]=xyz;123;abc
將其切割為
s1[ ]=xyz
s2[ ]=123
nanosheep 發表在
痞客邦
留言(0)
人氣()
#include<stdio.h>
int main()
{
void reverse(char []);
char a[100];
nanosheep 發表在
痞客邦
留言(0)
人氣()
注意!!使用遞迴實做帕斯卡三角形時,不需使用陣列。使用遞迴亦可印出三角形,不過還需增加判斷式。
而使用遞迴可直接輸入所求位置算出答案。
#include<stdio.h>
int main()
nanosheep 發表在
痞客邦
留言(0)
人氣()
注意!!:我所使用的陣列是由1開始,0我不使用。因此,各位同學自行練習時,請考慮陣列起始位置與陣列大小。
#include<stdio.h>
int main()
nanosheep 發表在
痞客邦
留言(0)
人氣()
#include<stdio.h>
#define row 3
#define col 3
int main()
{
nanosheep 發表在
痞客邦
留言(0)
人氣()
Q8_16:
#include<stdio.h>
int main()
{
nanosheep 發表在
痞客邦
留言(0)
人氣()
Q3a:
#include<stdio.h>
int main()
{
int i,now=1,last=1,temp=0,sum=0,n;
nanosheep 發表在
痞客邦
留言(0)
人氣()
Q2a:
#include<stdio.h>
int main()
nanosheep 發表在
痞客邦
留言(0)
人氣()
#include<stdio.h>
int main()
{
int n,i,sum=0;
printf("Input a number:");
nanosheep 發表在
痞客邦
留言(0)
人氣()
#include <stdio.h>
#include <stdlib.h>
int main(void){
double Euler(int n);
int find_k(int n);
nanosheep 發表在
痞客邦
留言(3)
人氣()
A:
輸出結果:
my_fun(5)=1.716667
my_fin(8)=1.718279
my_fun(10)=1.718282
nanosheep 發表在
痞客邦
留言(1)
人氣()