what is the major difference between a compiler and an interpreter for the translation of high level languages
A compiler turns your code into object that will run on your pc like dll or exe. You don't need the compiler further more in the end-user machine (Compiled once). ( Take the whole code as input) like c / c++ , delphi , .... An interpreter take each instruction no intermidate object is generated. Need to be compiled each time it runs .. like basic , python, Java, ruby...
ok so that the major difference between them
ok explain why there is a need for so many different types of high-level languages
@TrojanPoem
Hmm, not really sure of that. But each programming language has it's advantages and disadvantages and some languages are easier in some parts personally I used c/c++ in writing the main program c# in writing updating tool python or php for the compiling script.
i havent started using any of those but small basic
@AliLnn, I would suggest starting by learning PHP as you won't need to differentiate between different data types. You will find ease in using it and then you can move to C/C++
Join our real-time social learning platform and learn together with your friends!