小编Mar*_*lle的帖子

Perl GUI调试器 - OSX

我的perl脚本遇到了一些问题,我可以使用什么样的perl调试器?我已经尝试过使用perl -d但它似乎没有正确读取脚本.我使用gdb和c和eclipse与c.但我发现很难找到带有GUI的Perl调试器.有什么建议??

谢谢.

debugging macos perl

3
推荐指数
1
解决办法
1334
查看次数

错误:标头结构中FILE之前的预期说明符限定符列表

嗨我得到几个编译器警告,我无法弄清楚问题.我已经解决了其他一些小问题,但这些问题只是困扰我.谢谢您的帮助

标记

agent.h:10:错误:'FILE'之前的预期说明符限定符列表

#ifndef AGENT_H
#define AGENT_H
struct AgentInfo {
      int cordRow;
      int cordCol;
      char indicator;
      char* fileName;
      char direction;
      pid_t agentPid;
      FILE* agentIn;//Error shows here
      FILE* agentOut;;
      struct AgentInfo *next;

}; 
struct AgentInfo *createLinkedList(int r,int c, char i, char *fn, char dir);
struct AgentInfo *addToLinkedList(int r,int c, char i, char *fn, char dir);
struct AgentInfo *findAgent(char* fn, struct AgentInfo **prevAgent);
extern struct AgentInfo *head = NULL;
extern struct AgentInfo *current = NULL;
#endif
Run Code Online (Sandbox Code Playgroud)

谢谢您的帮助

c struct

1
推荐指数
1
解决办法
1671
查看次数

标签 统计

c ×1

debugging ×1

macos ×1

perl ×1

struct ×1