诱人的老师中文字幕在线观看
遊客:  註冊 | 登錄 | 幫助





標題: [求助] Programming Homework需要幫忙呀!!!
kayehyl     Rank: 4Rank: 4
水中藍
性別 女
UID 644

精華 0
帖子 739
積分 1504   詳情

閱讀權限 50
註冊 2006-7-10
來自 HK
狀態 離線

 
 
 
 
發表於 2007-11-16 12:36 AM  資料  個人空間  短訊  加為好友 
Programming Homework需要幫忙呀!!!

X-Seek
此 X-Seek 主題價值 200 XS。 (天藍出手)
X-Seek 出題者 kayehyl 希望能在 2007-11-30 12:36 AM 前尋找到解決方案。
已於 2008-1-15 10:28 PM 由 mickeyGoUp 選出最合適的解決方案及關閉 X-Seek 主題。

我平時上堂係學Perl...
點知依家有一堂個老師無啦啦話要用Java or c or c++寫個program...
我真係束手無決呀...
有無人可以幫下我呀???
又或者比0的提事我應該點去寫呀???
唔該晒呀~~~

個homework響呢度:
http://cs.njit.edu/~alexg/courses/cs435/handouts/pa3.pdf



[ 觀看解決方案 ]


最後編輯: mickeyGoUp : 2007-11-16 02:34 AM




K.K ~ kayehyl
頂部

mickeyGoUp     Rank: 7Rank: 7Rank: 7
版主
性別 男
UID 5

精華 0
帖子 35511
積分 5235   詳情

閱讀權限 150
註冊 2006-3-24
來自 美國滴滴尼
狀態 離線

 
 
 
 
發表於 2007-11-16 02:33 AM  資料  個人空間  短訊  加為好友 
嘩! 有時真係覺得讀書時既功課仲難過工作上既 project!  ><  咩係 Radix-Sort 我都未搞得清楚..........

C/C++ 我就太耐無惦﹐所以我最多可以幫手 Option 2 (用 java)﹐但佢好似 想您地用 C/C++ 多 d 喎。  點解無啦啦教教下 Perl 會要您地寫 C/C++既?  無底點寫呢?  

我轉您個 post 做 X-Seek 睇下有無人可以幫手先...




X-Seek 解決方案 1/5  [ 觀看下一個解決方案 ]  
頂部



1022292057     Rank: 4Rank: 4
水中藍
性別 男
UID 17104

精華 0
帖子 165
積分 798   詳情

閱讀權限 50
註冊 2006-12-9
來自 Canada
狀態 離線

 
 
 
 
發表於 2007-11-16 01:40 PM  資料  個人空間  主頁 短訊  加為好友 
if u never used C++ before, i would recommend u to do option 2 since option1 requires the use of pointers, all programming languages are in the same concept, if u know how to do it in perl, then u just do the same thing in java or C++ or C with their corresponding syntax, difference won't be much




X-Seek 解決方案 2/5  [ 觀看下一個解決方案 ]  
頂部

mickeyGoUp     Rank: 7Rank: 7Rank: 7
版主
性別 男
UID 5

精華 0
帖子 35511
積分 5235   詳情

閱讀權限 150
註冊 2006-3-24
來自 美國滴滴尼
狀態 離線

 
 
 
 
發表於 2007-11-16 09:26 PM  資料  個人空間  短訊  加為好友 
Thanks, 1022292057 (what a long numeric username! )!  I think he should be able to handle the syntax, like you said, all programming lanugages are similar, just a matter of using different syntax.

When learning a new programming language, the very first challenge is to know where to start.  Do you think you can show him a Hello World example in C and/or C++ as a starting point?  And Perl does not need to be compiled, but C/C++/Java does.  I wonder if hayehyl even know how to compile and run his program.




X-Seek 解決方案 3/5  [ 觀看下一個解決方案 ]  
頂部

kayehyl     Rank: 4Rank: 4
水中藍
性別 女
UID 644

精華 0
帖子 739
積分 1504   詳情

閱讀權限 50
註冊 2006-7-10
來自 HK
狀態 離線

 
 
 
 
發表於 2007-11-18 12:00 AM  資料  個人空間  短訊  加為好友 
replying

thanks a lot guys~

we learned introduction to java like 3 years ago and we used eclipse to write and compile so i should be able to compile it... except that we've always learned perl cuz we r in bioinformatics major but this professor is a computer science professor (well he's a different professor i m having throughout all these 4 years =.=) so i guess he prefers any languages beside perl =.= and we forgot almost everything about java :x lol~

do you guys have any good links for RadixSort? thanks





K.K ~ kayehyl
頂部

mickeyGoUp     Rank: 7Rank: 7Rank: 7
版主
性別 男
UID 5

精華 0
帖子 35511
積分 5235   詳情

閱讀權限 150
註冊 2006-3-24
來自 美國滴滴尼
狀態 離線

 
 
 
 
發表於 2007-11-18 02:15 AM  資料  個人空間  短訊  加為好友 
I see.  Thanks for explaining your situation.  Now I got a better picture what is going on.  

And seems like you prefer to use Java, as you have zero experience with C or C++?  

Since I am also new to Radix Sort, I am in no position of telling u which sites are good.    But you can go to our all-time favorite - wikipedia (haha.. maybe it is just my favorite) - and look up their page on Radix Sort: http://en.wikipedia.org/wiki/Radix_sort  They even have code examples.  If you wanna use Java, then the C# example is probably your closest bet.

And here is a tutorial on how to write a Hello World Java program in Eclipse: http://www.cis.upenn.edu/~matusz ... arting-eclipse.html

Hope that helps.




X-Seek 解決方案 4/5  [ 觀看下一個解決方案 ]  
頂部

lhy     Rank: 3
青出藍
性別 男
UID 14043

精華 0
帖子 121
積分 330   詳情

閱讀權限 40
註冊 2006-10-16
來自 Netherlands
狀態 離線

 
 
 
 
發表於 2007-11-19 04:11 PM  資料  個人空間  短訊  加為好友 
Well I have no idea what Radix sort is. But I found some java source. Hope it can help you

http://www.cs.ubc.ca/~harrison/Java/sorting-demo.html
http://www.ics.uci.edu/~eppstein/161/960123.html
http://algoviz.cs.vt.edu/AlgovizWiki//RadixSort

Sorry I cannot help you with this. But if you have question about java or so I am happy to help you.




X-Seek 解決方案 5/5   
頂部

flash2man (我愛芙蓉姐姐)     Rank: 5Rank: 5Rank: 5
風中藍
性別 保密
UID 19

精華 0
帖子 4160
積分 5664   詳情

閱讀權限 60
註冊 2006-6-23
來自 活在芙蓉姐姐世界
狀態 離線

 
 
 
 
發表於 2007-11-29 11:26 AM  資料  個人空間  短訊  加為好友  Gmail
個file好多洋文都睇唔明。






頂部

快速美言
           


當前時區 GMT+8, 現在時間是 2024-5-7 04:32 PM

    Powered by Discuz!  © 2001-2007 Comsenz Inc.   
Processed in 0.008592 second(s), 9 queries

清除 Cookies - 聯繫我們 - LIPS Corner 新天藍 - Archiver