Quote:
|
Originally Posted by saro_gn
hi
pls anybody give me the solution.
how to compile or execute 'c' program without editor.
|
What an interesting question !!!!
First of all, it is absolutely possible to compile or execute 'c' program without editor.
To compile a 'c' program, all u need is a 'c' compiler; to execute a 'c' program, well... compiled program that is...u don't need anything, I mean, only the OS is enough!!! All u need to do is run the executable. And yes, u can't execute a 'c' code (uncomplied, that is), but I am sure u already know that!!!
U need an editor (text editor, that is) for writing the 'c' code into the file, u can even do that (with much pain, of course, but can do it nonetheless) with 'copy con' command (in MS-DOS, or Dos Box). But, for compiling of excuting, I am sure u don't need any 'editor' or anything like that.