What is the diffrent between compiler and interpreter?
Can we write our own interpreter or compiler?
I am a bit confuse with compiler. Is the sofware C program come with few copiler so that our program is compile into few machine code or just compile to the machine that we are using?
Although C code could be compiled to many specific machines without or with minor modifications, the compiler must set one specific target when doing the compiling. It could not just compile once and the code could be run on every machine. The C code is portable not the compiled result. Unlike Java which use intermediate Virtual Machine between its compiled byte code and the real machine, so Java could compiled once and run anywhere or so it said