Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 eclipse、jni、c、CentOS6。
我真的很想从 C 代码中查看一些日志,但是在 Eclipse 控制台中,它没有显示在 C 中发生的 printf 消息。
有没有办法在 Eclipse 控制台中打印 C 日志?
@Ozan Deniz 感谢您分享您的知识。总结该链接,eclipse本身就有C控制台问题。因此,如果有人在 Eclipse 控制台中打印 C msg,则必须使用 fprintf(stderr, "")... 再次感谢。