开发者

Get the output of a C program without compiling it [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Clos开发者_StackOverflow社区ed 11 years ago.

I have a .c file and I have only a Windows command prompt. I have to get the output of the program.

Can the program be compiled without the support of TC or TC3 environment? If so kindly help.


Assuming you have internet access there are sites such as http://codepad.org which allow you to compile and run small programs in various languages online. Supported languages include C, C++ and many others.


You could install Cygwin and then compile it using gcc.


If you only have a ".c" file, then you don't have a program. You must compile the program first to make an executable, and then you must run the program to get its output.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜