[問題] 論文附上的code不會讀

作者: schmitt (小密特)   2018-06-29 17:10:56
開發平台(Platform): (Ex: Win10, Linux, ...)
Win10
編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出)
網路上的編譯器 Ideone
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
問題(Question):
初學者我,直接把論文的附件丟到Ideone上,然後按run,出現以下問題:
編譯失敗(CE) #stdin 編譯失敗(ce) #stdout 0s 0KB
Standard input is emptyStandard input is empty
編譯資訊
prog.c:1:18: fatal error: cstdio: No such file or directory
#include <cstdio>
^
compilation terminated.
Standard output is empty
餵入的資料(Input):
論文:
http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0174946
程式碼1
https://doi.org/10.1371/journal.pone.0174946.s001
程式碼2
https://doi.org/10.1371/journal.pone.0174946.s002
補充說明(Supplement):
作者: Bencrie   2018-06-29 17:17:00
那是 CUDA 的程式碼,不是 C
作者: alan23273850   2018-06-29 17:32:00
會看 paper 不會看 code,還 112?不懂
作者: schmitt (小密特)   2018-06-29 19:08:00
謝謝一樓win10的CUDA安裝有問題,目前嘗試用python改寫程式碼
作者: hunandy14 (Charlott.HonG)   2018-06-30 03:13:00
安裝:http://bit.ly/2ICZmmo真的有問題 裝 VS2015 吧 cuda8.0以上都是直接裝
作者: bellman (Richard)   2018-06-30 16:27:00
台大水準好棒棒
作者: johnny94 (32767)   2018-06-30 19:31:00
某幾樓是自卑心作祟?

Links booklink

Contact Us: admin [ a t ] ucptt.com