#error

Veröffentlicht am: 14 Juli 2020
auf dem Kanal: Technotip
2,010
17

https://technotip.com/8597/error-prep...

In this video tutorial, lets see how we can make use of #error preprocessor command or directive.

Where Is It Useful?
If you’re a Software developer working with C programming language, then your project will have a lot of code and dependency source codes. While compiling, compiler will take a lot of time. In big projects usually you forget the purpose of compilation by the time it completes compilation. In such cases, make use of #error directive. If there are any errors at certain locations the compiler will stop further compilation as and when it encounters #error directive. This saves a lot of time and resources. So #error directive is usually helpful in debugging your project code.

It’s also helpful in projects with critical user inputs. Suppose user enters wrong data due to which the project itself might crash and utilize a lot of resource while trying to execute. In such cases it’s better to terminate the program execution.

C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programm...

C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programm...


Auf dieser Seite können Sie das Online-Video #error mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Technotip 14 Juli 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,010 Mal angesehen und es wurde von 17 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!