作者schmitt (小密特)
看板C_and_CPP
標題[問題] 論文附上的code不會讀
時間Fri Jun 29 17:10:56 2018
開發平台(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):
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.154.103
※ 文章網址: https://webptt.com/m.aspx?n=bbs/C_and_CPP/M.1530263464.A.DF0.html
1F:推 Bencrie: 那是 CUDA 的程式碼,不是 C 06/29 17:17
2F:推 alan23273850: 會看 paper 不會看 code,還 112?不懂 06/29 17:32
3F:→ schmitt: 謝謝一樓 06/29 19:08
4F:→ schmitt: win10的CUDA安裝有問題,目前嘗試用python改寫程式碼 06/29 21:42
6F:→ hunandy14: 真的有問題 裝 VS2015 吧 cuda8.0以上都是直接裝 06/30 03:14
7F:噓 bellman: 台大水準好棒棒 06/30 16:27
8F:→ johnny94: 某幾樓是自卑心作祟? 06/30 19:31