-
電視與搖控器突然dis-connect ?
Posted on 二月 7th, 2010 1 comment家裡的電視 remote 被摔壞了 …
所以就去買了萬用 remote ….
一直以來也都還算ok …這兩天突然完全沒辦法連上
以為是 remote 壞了, 送修後發現是沒問題的 ….現在要怎麼辦 ?? 修電視 ?? 還是說再換一隻remote ?
請問有人有發生過一樣的問題嗎 ?
-
請問我弄的form線上寄信哪裡錯誤了?
Posted on 二月 7th, 2010 2 commentshttp://99golf.com.tw/ledoggy/cgi-bin/vip/form.htm
填寫好之後
會轉往
http://99golf.com.tw/ledoggy/cgi-bin/vip/form.cgi
然後就出現了Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@99golf.com.tw and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
——————————————————————————–
Apache/1.3.37 Server at www.99golf.com.tw Port 80
我屬性設定過755跟777都不可以捏?
請問可以幫幫我嗎?謝謝!
還有這是甚麼意思呢?在form.cgi裡面的
$backurl = "?";
$backname = "?";
$mailprog = ‘/usr/bin/mail’;
$youmail = ‘ledoggy_house@yahoo.com.tw;
$yourname = "會員姓名"; -
C++ ~超難我不會
Posted on 二月 7th, 2010 1 comment1. 請宣告一個一維陣列(int),由使用者輸入10個數字,程式必須能夠找出最大值、最小值、平均值、標準差及從大排到小的輸出。以上程式需利用指標完成。
#include<iostream.h>
void main()
{
int*num=new int[10];
int temp,i=0;
cout<<"[請輸入10個數字]"<<endl;
while(i<10)
{
cout<<"數字"<<i+1<<">";
cin>>*(num+i);
i++;}
for(i=0;i<9;i++)
for(int j=i+1;j<10;j++)
{
if(*(num+i)<*(num+j))
{
temp=*(num+i);
*(num+i)=*(num+j);
*(num+j)=temp;
}
}
cout<<"[由大而小的順序是]";
for(i=0;i<10;i++)
cout<<*(num+i)<<’\t’;
cout<<endl;
delete [] num;
}我已打出大小排序了那如何分辨最大值跟最小值等等呢??
-
【重來】C程式的練習題 5【十萬火急】:
Posted on 二月 7th, 2010 1 comment關於這個C程式碼,怎麼修改內容,使他能輸入0~9整數任一個,假設為n,使程式印出0~n數字中任兩個數字的組合?
麻煩有說明,請用C語言的迴圈、陣列、函數…去修改它,但是不用C++!可以的話,麻煩給完整的程式碼!
#include<stdio.h>
int main(){
int i=0, j=0, a[10]={0,1,2,3,4,5,6,7,8,9}, k=0;//一開始變數宣告
printf("可能的組合:\n");//提示字元
for(i=0;i<10;i++)
for(j=i;j<9;j++){
printf("{%d,%d}\n", a[i], a[j+1]);//印出不同的組合
k++;
}printf("總共有%d種組合\n",k);
return 0;
} -
這個問題要給會的人來給答案
Posted on 二月 7th, 2010 1 comment~以亂數產生20天的氣溫資料(範圍從15℃~36℃),並且計算連續5天的平均溫度。其結果(資料檔)以檔案儲存!
其中裡面似乎是不能做出平均的數值或者有其他問題而不能執行
麻煩會的可以給一下詳細的解答ㄛ~謝囉!/* Fig. 5.9: fig05_09.c
Randomizing die-rolling program */
#include <stdlib.h>
#include <stdio.h>
#include <time.h>/* function main begins program execution */
int main()
{
srand(time(NULL));
int i; /* counter */
unsigned seed; /* number used to seed random number generator */seed; /* random number generator */
/* loop 10 times */
for ( i = 1; i <= 10; i++ ) {/* pick a random number from 1 to 6 and output it */
printf( "%10d", rand() % 22 + 15 );/* if counter is divisible by 5, begin a new line of output */
if ( i % 5 == 0 ) {
printf( "\n" );
} /* end if */} /* end for */
system("pause");
return 0; /* indicates successful termination */} /* end main */
/**************************************************************************
* (C) Copyright 1992-2004 by Deitel & Associates, Inc. and *
* Pearson Education, Inc. All Rights Reserved. *
* *
* DISCLAIMER: The authors and publisher of this book have used their *
* best efforts in preparing the book. These efforts include the *
* development, research, and testing of the theories and programs *
* to determine their effectiveness. The authors and publisher make *
* no warranty of any kind, expressed or implied, with regard to these *
* programs or to the documentation contained in these books. The authors *
* and publisher shall not be liable in any event for incidental or *
* consequential damages in connection with, or arising out of, the *
* furnishing, performance, or use of these programs. *
*************************************************************************/ -
= = 電腦莫名奇妙的自動關機 還會自動開機
Posted on 二月 6th, 2010 6 comments= =
我的電腦會莫名奇妙的自動關機
關機完還會自己自動開機~
請問大大
我的電腦是怎麼了?!
有時開機開到要輸密碼 就自己關了
有時是已經成功的開機了 但執行程式 就又自己關了~
然後還會自已重新開機……= =
-
手機影片轉檔問題(急急急!!!)
Posted on 二月 6th, 2010 1 comment為什麼我把手機裡的影片放到電腦裡又轉好檔後
要看的時候卻發現影片的畫面跟影片的聲音不合,
就像畫面的開始時間跟聲音的開始間不一樣。例如:有一個人ㄉ嘴
巴都動完了,但是聲音卻在4秒鐘之後才出現,為什麼會這樣??
我的手機是sony K610i
我用的轉檔程式是ImTOO 3GP Video Converter -
C++ ~很難我不會
Posted on 二月 6th, 2010 1 comment撰寫一個程式,並列出m~n之間的質數。其中m及n由使用者輸入。
可以用指數的話就用指數~
謝謝>< -
C程式的練習題 5【千萬火急】!
Posted on 二月 6th, 2010 1 commentWrite a C program to list all possible combinations of n characters out of the ten
characters ‘0’, ‘1’,…, ‘9’. That is, there are 45 combinations of two characters out of the
ten characters.還是一樣:要有說明、用函數或陣列或迴圈或其他,就是不用C++。
另練習題4也可用其他C程式寫法。
-
C程式的練習題 4【千萬火急】!
Posted on 二月 6th, 2010 2 commentsWrite a C program that reads one unsigned integer, reverses
the integer, and prints the reverse of the integer and the sum of the integer and its reverse.
For example, the reverse of 1234 is 4321 and the reverse of 120 is 21.先說一下,不用C++,要用C函數或陣列或迴圈,然後要有說明喔!

