answersLogoWhite

0

It ignores the comments, those are for the human reader.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is compiler pass?

When a compiler, or a parser for that matter, parses a text written in a formal language called "programming language" (describing algorithms in an imperative way, see wikipedia for "imperative programming"), it constructs a so-called "parse tree". A multi pass compiler iterates this recursive tree of tokens (terminals and non terminals) several times, thus being able to optimize the code or find common mistakes, eventually fixing them.


What is meant by good programming style and explain why it is important?

Good programming style encompasses several things. It means not naming variables things that do not make sense and adhering to indentation protocols. It also means leaving comments where methods may need explaining. This is important because other people will see code that is written and poorly written code is difficult to understand.


What is GCC Linux?

GCC is the GNU Compiler Collection (Originally GNU C Compiler) See the related link. It is a collection of "compiler software", that is used to convert human readable source code into binary programs the computer can actually understand and run. it supports several programming languages like C, C++, Java, FORTRAN, etc.


What are programming languages written in?

which programs?the easiest way to find out is to go to wikipedia and search for particular program and on right hand side you will see information in which programming language is written


Why can't you see my comments on moshi monsters?

You can't see your comments but other monsters can!


What is a comment statement?

In programming a comment is not a statement. Comments are completely ignored by compilers. In some languages, such as C, the compiler doesn't even see the comments because they were stripped out by the precompiler (which also processes macros, precompiler directives and precompiler definitions). As such, the compiler only sees the resultant C code and nothing else. Even if a compiler could "see" a comment, it wouldn't understand it. Comments are specifically intended for code maintainers and implementers, and are used solely to explain a concept that cannot be expressed directly in code. Comments are often a distraction. We see this in tutorial code where virtually every line has a comment because, all too often, these comments do not add anything to the code, they simply repeat what the code does in plain English: int i = 42; // assign 42 to the variable i i *= 2; // double the value of i While this is useful when learning a new programming language, such comments have no place in production code. The assumption is that a code maintainer or implementer is fully conversant with the programming language, so there is no need to explain what a piece of code does; the code itself tells you what it does. Well-written code is also (largely) self-documenting, but when it is not possible to express a concept directly in code, a comment can help draw the reader's attention to that concept. Low-level programming languages such as assembly language require verbose commentary because it is not possible to express concepts directly in low-level code. The same can be said of C to some degree, because although it is a high-level language, the level of abstraction within the language itself is extremely low. The bulk of our C code tends to consist of low-level functions that provide the building blocks for the higher level functions, but the low-level functions will require more commentary then the higher level ones. C++, on the other hand, is extremely high-level and requires very little commentary. Although C++ does not support the notion of concepts per se (although it may do at some point in the future) we can avoid using comments through the use of constraints checks and compile time computation. Thus the compiler can provide a more meaningful error message which is much harder to ignore than a comment would be. That's not to say we shouldn't use comments of course. Often we use them as little reminders to ourselves because we often write code that makes perfect sense at the time but when we revisit the code at a later date, our train of thought has long been forgotten. the trick is to write comments that assist the reader rather than distract the reader, and that is an art in and of itself.


What is comment statement?

In programming a comment is not a statement. Comments are completely ignored by compilers. In some languages, such as C, the compiler doesn't even see the comments because they were stripped out by the precompiler (which also processes macros, precompiler directives and precompiler definitions). As such, the compiler only sees the resultant C code and nothing else. Even if a compiler could "see" a comment, it wouldn't understand it. Comments are specifically intended for code maintainers and implementers, and are used solely to explain a concept that cannot be expressed directly in code. Comments are often a distraction. We see this in tutorial code where virtually every line has a comment because, all too often, these comments do not add anything to the code, they simply repeat what the code does in plain English: int i = 42; // assign 42 to the variable i i *= 2; // double the value of i While this is useful when learning a new programming language, such comments have no place in production code. The assumption is that a code maintainer or implementer is fully conversant with the programming language, so there is no need to explain what a piece of code does; the code itself tells you what it does. Well-written code is also (largely) self-documenting, but when it is not possible to express a concept directly in code, a comment can help draw the reader's attention to that concept. Low-level programming languages such as assembly language require verbose commentary because it is not possible to express concepts directly in low-level code. The same can be said of C to some degree, because although it is a high-level language, the level of abstraction within the language itself is extremely low. The bulk of our C code tends to consist of low-level functions that provide the building blocks for the higher level functions, but the low-level functions will require more commentary then the higher level ones. C++, on the other hand, is extremely high-level and requires very little commentary. Although C++ does not support the notion of concepts per se (although it may do at some point in the future) we can avoid using comments through the use of constraints checks and compile time computation. Thus the compiler can provide a more meaningful error message which is much harder to ignore than a comment would be. That's not to say we shouldn't use comments of course. Often we use them as little reminders to ourselves because we often write code that makes perfect sense at the time but when we revisit the code at a later date, our train of thought has long been forgotten. the trick is to write comments that assist the reader rather than distract the reader, and that is an art in and of itself.


How do you decompose the exe?

Start by using a debugger with a disassembler, the you have to manually decompose the exe. Start by adding comments, then start with the function entry and return points then filling in the middle, and soon you will notice a pattern that the compiler constructs. If you know the compiler that was used, you can write code fragments to see how they compile, but you have to make your own symbols up if its a release version of the?æcode.


What are HTML comments?

Comments are used to give extra information to the person writing or updating the HTML, usually explaining what a piece of code does, or identifying a significant point in the document. Comments are not displayed on the webpage itself. They are only within the code. They are ignored by the browser. The concept of using comments comes from programming. Comments can also do other things, like get a piece of code to be ignored temporarily so that testing to see if there is a problem can be done. A comment is started by putting this <!-- and is finished by putting this --> with the comments in between them like this: <!-- This will be ignored by the browser-->


When you install C LANGUAGE display 16 dilogbox on that dialogbox display install pif file so please give you answer quick?

You cannot install a programming language on your computer. If you want to install a compiler, see the attached link.


Can you see your comments at The Daily Growl on Moshi Monsters?

Yes, however, it may take time for your comments to post. You may also need to refresh your browser in order to see your comments.


Why single pass compiler are faster than multi pass compiler?

A one-pass compiler is a compiler that passes through the source code of each compilation unit only once. A multi-pass compiler is a type of compiler that processes the source code or abstract syntax tree of a program several times.A one-pass compilers is faster than multi-pass compilersA one-pass compiler has limited scope of passes but multi-pass compiler has wide scope of passes.Multi-pass compilers are sometimes called wide compilers where as one-pass compiler are sometimes called narrow compiler.Many programming languages cannot be represented with a single pass compilers, for example Pascal can be implemented with a single pass compiler where as languages like Java require a multi-pass compiler.