对于C / C的IRB型工具++ [英] An irb-type tool for C/C++

查看:100
本文介绍了对于C / C的IRB型工具++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在编写Ruby code,很容易测试功能是如何的不同表现在IRB测试出来。但在C测试code,我通常要开辟一个独立的IDE和写code有测试它是如何工作的。有没有在Unix或者Windows平台?

When writing ruby code, it is easy to test how different functions behave by testing them out in irb. But to test code in C, I usually have to open up a separate IDE and write code there to test how it works. Is there an interpreter-like tool available in Unix or Windows platform?

推荐答案

如果你只是想测试一个复制和放大器; code的粘贴能位,我经常使用 codePAD 看到单一的结果立即功能不编译。它有它的局限性,虽然。

If you just want to test a copy & paste-able bit of code, I often use CodePad to see the results of single functions immediately without compiling. It has its limits, though.

这篇关于对于C / C的IRB型工具++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆