python.c
1#include <stdlib.h> 2int main() 3{ 4 int system("/○○○.py"); 5 return 0; 6} 7
gcc python.c
でコンパイルを通そうとしたのですがエラーが発生してしまいます
○○○.pyはhomeにある状態です
エラー内容は
error: expected declaration specifiers or ‘...’ before string constant
int system("/○○○.py");
初歩的な質問で申し訳ありません
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/29 04:52