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

看板C_and_CPP作者 (小密特)時間6年前 (2018/06/29 17:11), 編輯推噓1(215)
留言8則, 6人參與, 6年前最新討論串1/1
開發平台(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://www.ptt.cc/bbs/C_and_CPP/M.1530263464.A.DF0.html

06/29 17:17, 6年前 , 1F
那是 CUDA 的程式碼,不是 C
06/29 17:17, 1F

06/29 17:32, 6年前 , 2F
會看 paper 不會看 code,還 112?不懂
06/29 17:32, 2F

06/29 19:08, 6年前 , 3F
謝謝一樓
06/29 19:08, 3F

06/29 21:42, 6年前 , 4F
win10的CUDA安裝有問題,目前嘗試用python改寫程式碼
06/29 21:42, 4F

06/30 03:13, 6年前 , 5F
06/30 03:13, 5F

06/30 03:14, 6年前 , 6F
真的有問題 裝 VS2015 吧 cuda8.0以上都是直接裝
06/30 03:14, 6F

06/30 16:27, 6年前 , 7F
台大水準好棒棒
06/30 16:27, 7F

06/30 19:31, 6年前 , 8F
某幾樓是自卑心作祟?
06/30 19:31, 8F
文章代碼(AID): #1RDVUetm (C_and_CPP)