作者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/cn.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