1 / 28

成熟且易撰寫的程式語言 : Tcl / Tk

成熟且易撰寫的程式語言 : Tcl / Tk. 報告者 : Nickbanana 紀孟 辰. 大綱. 簡介 Tcl 特色及用途 如何 起手 Tclkit 實際應用 Q&A 時間 參考資 料. 簡介. 凡事從簡介開始. 我 Tcl 我和 Tcl. 問大家一個問題. 你們怎麼用 電腦 程式顯示時間呢 ?. C/C++ 版本. 利用 time.h 內的 ctime 函式 至少三行 ( 宣告 取得時間 格式化 ). Python 版本. Import time( 之類的 XD) ……… 1-2 行. Tcl 版本.

havily
Download Presentation

成熟且易撰寫的程式語言 : Tcl / Tk

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 成熟且易撰寫的程式語言: Tcl/Tk 報告者: Nickbanana 紀孟辰

  2. 大綱 • 簡介 • Tcl特色及用途 • 如何起手 • Tclkit • 實際應用 • Q&A時間 • 參考資料

  3. 簡介 凡事從簡介開始

  4. • Tcl • 我和Tcl

  5. 問大家一個問題

  6. 你們怎麼用電腦程式顯示時間呢?

  7. C/C++版本 • 利用time.h內的ctime函式 • 至少三行(宣告 取得時間 格式化)

  8. Python 版本 • Import time(之類的XD) • ……… • 1-2行

  9. Tcl版本 • puts [clock format [clock seconds] -format "現在是%Y年%m月%d日 %H時%M分%S秒" ] • 一行 你沒看錯 一行~

  10. Tcl特色及用途 有哪些方法玩弄它呢(羞)

  11. 特色:融合 functional programming 和 procedural programming • 用途:跑數據,自動化,做其他事

  12. 喂……主講的……Tk勒 賦予GUI 的魔術師…….吧

  13. Tk能為許多語言製作GUI • 提供了常用到的GUI如按鈕、選單、文字、進度條等等。

  14. Tcl起手裝 每個英雄都要起手裝:一鞋三水……程式語言也不例外

  15. 斯斯有兩種,在電腦上面裝TCL的方法也有兩種。斯斯有兩種,在電腦上面裝TCL的方法也有兩種。

  16. 裝懶人包 • Activestate這家公司有提供懶人包。只需要抓下來執行,就會有Tcl 等著你用。 • 至於缺點嘛……大概就是沒有自己DIY吧

  17. 自己編譯 • http://www.tcl.tk上面有原始碼可以自己抓下來編譯 • 不過缺點嘛……大概是對新手不友善QQ

  18. Tclkit 變成portable的靈魂”人物”!?

  19. Tcl/Tk的侷限性 • 解決方法

  20. 實際應用 讓你們看看懶人的極致

  21. 放榜進度查詢 • 緣起 • 設計 • 結果

  22. Q&A時間 主講 你不問我們問題 換我們問歐

  23. 各位有問題嗎?

  24. 參考資料 不是神 所以也要汲取前人經驗

  25. http://www.tcl.tk/官方網站 • http://www.activestate.com/activetcltcl的懶人包 • http://www.tcl.tk/doc/tcl 的文件 • http://www.tkdocs.com/tk的文件及教學 • http://blog.got7.org/2009/06/tcltk.html 教學部落格

  26. Github • https://github.com/nickbanana • Slideshare • http://www.slideshare.net/nickchi2/tcl-tk

  27. 感謝大家(聽我這新手賣瓜) 休息一下 要和我討(ㄗㄨㄟˇ)論(ㄆㄠˋ)的歡迎私下來~

More Related