answersLogoWhite

0


Best Answer

compling c executing c program without editor is similar to that of Java program. we just have to set the path to TC to the PATH environment variable. then using the TCC command we can execute the C program..... EG: TCC sam.c //Compilation sam //Execution

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

Even if you don't have a compiler, you will still need some kind of text editor to actually write your code, unless you plan on writing it by hand and scanning it with OCR software. Even Windows Notepad is better than nothing and would certainly be a lot more reliable.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

An IDE is simply a collection of tools for programming in a unified interface... and Integrated Development Environment. These are typically GUI based programs requiring some sort of window manager. If you're in a "headless" environment and only have the command line at your disposal, then that's what one must use for compiling your program.

There isn't a single program for compiling all languages, for instance you'd use the program javac (or javac.exe) for compiling Java or gcc to use the GNU C Compiler to compile code written in C. When compiling multiple files and folders, one may need to use a builder, which can use a compiler to compile multiple folders of files at the same tome and them package them together in a sensible structure. Ant is a pretty common example for Java and make is a really common example for C. To use a builder you write an instruction sheet for the builder, which for make is called a makefile.

make -f [path_to]/makefile clean

make -f [path_to]/makefile

make -f [path_to]/makefile install

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

I did not know that a program could be run using editor.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a program in c without using editor?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write a program using if statements?

Use a text-editor like notepad, editpad, etc.


Can you write a C program Without turbo C IDE?

Yes you can write a C program without using turbo C IDE. All you need is a text editor like notepad where you can write your codes and after writting them save the file with .c extension. But for compilling and running the code you will be needing turbo C IDE.


How do you write a program in embedded c?

Use a text-editor program.


How do you write a program using function that counts the number of vowels in a string in java language?

Use text-editor notepad++


How do you write a C program to perform?

Use a text-editor.


Write c program to print palindrome using string without using strrev strlen strcam?

sdfdg


How do you type superscripts without Microsoft office?

That would depend on the program you are using. There are certain superscripts that are part of the basic Unicode character set. if your superscript is not one of them then you will have to ask about the exact program you are using to write with. Here in the Answers.com editor there are buttons for superscripts NormalSuper and subscripts NormalSub. Each application has its own way (if it is at all possible)


Can you write a program without using any semicolon inside the main function?

not possible dude


Write a Program to convert decimal number into hexadecimal no without using function and string?

This is not a question.


Is it possible to write a C program without using preprocesser directives?

Technically yes, practically no.


How do you write a program in C plus plus plus plus How do you write a program in C to swap two variables without using the third oneo swap two variables without using the third one?

To swap two variables without using a third variable, use exclusive or manipulation... a ^= b; b ^= a; a ^= b;


How do you use GLBasic?

GLBasic can be used to write games and utilities for Windows, Mac, Linux, iPhone and many other platforms You do this by using the integrated editor and then compile the program.