在在线c编译器中显示错误

Hi all I have a c compiler up and running shows the output but the problem is that it dosen't show errors....

      shell_exec("gcc xyz.c -o ab.out ");

      $output=exec("./ab.out");
      echo $output;

So it is showing output but not any errors occurred while compiling. Any help is duly appreciated. Thanks in advance.

查看全部
doufei3561
doufei3561
2013/01/12 14:50
  • c
  • php
  • compiler-errors
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复