You are here:

C++/question about c

Advertisement


Question
sir compiler compile the whole program .
compiler is also a set of program than who checks the error of compliler ?????
it means who checks for error of compiler????

Answer
The current practice is that the compiler writers (and users over a period of time) run these tests. Every  respectable mainstream compiler is tested against a suite of test cases. Writing a good test suite is expensive; some test suites are commercially available - for example http://www.plumhall.com/suites.html.

But no matter how much testing is done, the compiler is a complex program and there would still be undetected errors. The more widely the compiler is used, the more likely that errors would be unearthed and fixed over a period of time. For example: http://gcc.gnu.org/bugzilla/buglist.cgi?query_format=advanced&short_desc_type=al

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


vijayan

Expertise

my primary areas of interest are generic and template metaprogramming, STL, algorithms, design patterns and c++11. i would not answer questions about gui and web programming.

Experience

about 15 years or so

Education/Credentials
post graduate engineer

©2016 About.com. All rights reserved.