+ 1

What is compiler?

It is given that gnu gcc is the compiler used in c++

1st Jul 2019, 1:58 PM
monu prajapat
17 ответов
+ 4
It is a software who run the code to look the output
1st Jul 2019, 2:21 PM
Stéphane Fernoux Cornély
Stéphane Fernoux Cornély - avatar
+ 4
Machine language is binary language ,consists of 0's and 1's . we cant understand it. Machines only can understand it. Compiler converts high level language to machine language.
1st Jul 2019, 2:32 PM
Nandini
+ 4
Binary
1st Jul 2019, 2:36 PM
Stéphane Fernoux Cornély
Stéphane Fernoux Cornély - avatar
+ 3
Machine language is not understandable to human being we cant do programming with machine language and it has top security then programming languages like python,java,c and many other high level languages. Binary language is known as machine language.
1st Jul 2019, 2:28 PM
Sharma Abhishek
 Sharma Abhishek  - avatar
+ 3
It is just the name of the compiler their are various compiler present in market. For ubuntu,linux,windows etc
1st Jul 2019, 2:32 PM
Sharma Abhishek
 Sharma Abhishek  - avatar
+ 2
it just acts like a Converter it actually converts high level language into machine language
1st Jul 2019, 2:10 PM
Sharma Abhishek
 Sharma Abhishek  - avatar
+ 2
In simple terms
1st Jul 2019, 2:11 PM
Sharma Abhishek
 Sharma Abhishek  - avatar
+ 2
No It is a high level language
1st Jul 2019, 2:23 PM
Sharma Abhishek
 Sharma Abhishek  - avatar
+ 2
Compiler is used to convert the user understandable language to machine understandable language. Every language has its compiler and some have interpreter. Compiler takes low time when compared to interpreter and compiler takes whole at once and find errors in it where as interpreter compiles each line . In compiler to execute the program we have to use other command where as in interpreter the command used for compiling is used for executing the program at a time. In C++ gcc compiler is mostly used
1st Jul 2019, 5:50 PM
tejaswi kanneganti
tejaswi kanneganti - avatar
+ 1
Ok thNks
1st Jul 2019, 2:53 PM
monu prajapat
+ 1
It just checks the code top to bottom and display error in the code C,C++, are some examples of compilers
18th Aug 2019, 6:33 AM
ruttala abhinav
ruttala abhinav - avatar
+ 1
A compiler creates machine code (cause a computer doesnt understand your code it only understand 0 und 1) out of your code. You also get a feedback if something is wrong with your code which can be detected in compile time. If your code is crashing in runtime it will be compiled without throwing errors cause the compiler can only detect syntax and semantic errors. 1) parsing to abstract syntax tree(ast) combined with syntax cause specific language syntax is not important for code generation 2) semantic analysis (type casting errors, not declared varibales...) 3)code generating (low level for example assembler) Some compilers go through the whole code 1 time (single pass): methods need to be defined before they are used for example Multi pass: Compiler first goes multiple times through whole code (methods can be defined after they are used cause the compiler knows them from previos passes)
24th Jan 2020, 3:42 PM
Jnn
Jnn - avatar
0
Is C++ is not the machine language?
1st Jul 2019, 2:22 PM
monu prajapat
0
What about gnu gcc
1st Jul 2019, 2:22 PM
monu prajapat
0
Can you tell one name of machine language?
1st Jul 2019, 2:24 PM
monu prajapat
0
Okay Thanks but what about gnu gcc
1st Jul 2019, 2:29 PM
monu prajapat
0
It converts byte code to machine language
25th Aug 2019, 10:53 AM
ruttala abhinav
ruttala abhinav - avatar