我最初在Windows上的python IDE中编码.现在,当我将我的代码粘贴到Linux服务器上的文件中时.现在当我运行脚本时,它给了我这个错误:
坏解释器:没有这样的文件或目录
请告诉我们如何解决此错误.
以链接列表定义的结构为例...
struct test_struct line 1
{ line 2
int val; line 3
struct test_struct *next; line 4
}; line 5
Run Code Online (Sandbox Code Playgroud)
在第4行,由于test_struct甚至没有完全定义(我假设结构在第5行完全定义,因为';',之前我们不能说结构是定义的)那么为什么我们不会在第4行得到错误test_struct没有定义......?