Re: [閒聊] 寫程式
※ 引述《HidekiRyuga ("好人"流河)》之銘言:
: #include <stdio.h>
: #include <stdlib.h>
:
: int main() {
:
: printf("I'M IN THE SPACE.")
:
: return 0;
: }
:
: → Wardyal: 你這樣編譯不會過捏 11/01 14:16
幫你改成至少編譯會過的樣子
#include <stdio.h>
main(argc, argv)
int argc;
char **argv;
{
printf("I'M IN THE SPACE.");
return 0;
}
好像C23?就不能搞K&R-style function definition了
--
neuenmuller@atelier:home$ touch plachta
touch: cannot touch 'plachta': Permission denied
neuenmuller@atelier:home$ sudo touch plachta
[sudo] password for neuenmuller:
neuenmuller is not in the sudoers file. This incident will be reported.
neuenmuller@atelier:home$
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 97.99.29.95 (美國)
※ 文章網址: https://www.ptt.cc/bbs/Marginalman/M.1698819631.A.2C9.html
推
11/01 14:20,
7月前
, 1F
11/01 14:20, 1F
※ 編輯: Neuenmuller (97.99.29.95 美國), 11/01/2023 14:23:08
討論串 (同標題文章)