answersLogoWhite

0


Best Answer

Not in C++, unless you have an interpreter. Most C++ development systems, however, are based on the compiler idiom, so, the answer is no.

However, Java is very close to C++, except for the platform and libraries, so one might consider Java to be an interpreter, however, you still must "compile" Java to byte code, so the answer is still no.

User Avatar

Wiki User

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

Wiki User

16y ago

For most nowadays compilators it's impossible. And it's very resonable, it helps to prevent running harmful codes.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is it possible to immediately run a program without compiling it?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is it possible to run java program without JVM?

No. Java programs run in the Java Virtual Machine (JVM) - without it your computer won't know how to handle Java bytecode.


What are the advantages of compiling a function separately?

So it can be run. Answering from an alternative angle, compiling source code into an executable program creates a list of instructions that can be understood directly by the CPU of the computer without any extra tools. The alternative being a script is a program which has to be read and interpreted by another program. This causes a major decrease in performance as the CPU had to run a program that will read the script character by character and perform a lot of lookup functions to perform the same tasks. The in-between option is using a virtual machine language which produces a sort-of half compiled program. This is similar to LLVM, Java or the .NET CLR. All three options allow a program to be made smaller, can be run byte for byte or by an interpreter or can compile the code on the machine where it will be run. This is the ideal solution as the code can be compiled to run optimally on the end user's machine instead of trying to optimize code for all possible systems.


How do you write a program in c without using editor?

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


C program without main functoin?

If we save our program with .c extention before compiling it, the compiler with automatically include the header files. for eg-First we save our program with sum.c and then compile it. It will not show any error.1. Compilation needs header files, not execution.2. Very small example programs can be written without using any header file, eg:/* mini.c */extern void (const char *puts);int main (void){puts ("Hello, world");return 0;}


How a program in c that will add 2 numbers without using any operator?

Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call

Related questions

Is it possible to immediately run your C plus plus program without compiling it?

No.


What alows you to immediately exit a program without rebooting the computer?

what will alow you to immediately exit the program without rebooting your computer


Write shorts note on interpreter?

An interpreter is a program that directly executes instructions written in a high-level programming language without the need for compiling them into machine code. It translates code line by line and executes it immediately, making it slower than compiled languages like C++. Interpreted languages are generally more flexible and easier to debug, as changes can be seen immediately without the need to recompile the entire program.


Is it possible to make a program using for and not with while?

The following cases are all possible:- program without any for and while- program without for- program without while- program with both for and while


How do you get a program to stop writing to a file without closing the program?

Not possible.


Is it possible to live without cells?

no way, you would probably die immediately


How do you burn a homemade movie to a DVD without a program?

Its not possible. Use NERO


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

not possible dude


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

Technically yes, practically no.


Is it possible to change the language of a Korean Windows XP program into English without reinstalling a whole new program?

probably not google the question to see why


How can you immediately exit the browser without rebooting it when the browser is not responding?

You're browsing the Internet and realize your browser is not responding. Which of the following will allow you to immediately exit the program without rebooting the computer?


What if you're browsing the internet and you realize your browser is not responding what will immediately exit the program without rebooting your computer?

On MacOS a Force Quit will immediately exit any selected program that is not responding.I don't use Windows enough to know how to do this there.