ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Conditional Compilation In C:

C Programming

directives

#ifdef

#else

#endif

preprocessor commands

iOS

portable code

Автор: Technotip

Загружено: 2020-07-10

Просмотров: 34386

Описание: https://technotip.com/8575/conditiona...

In this video tutorial lets learn about preprocessor command or directives like #ifdef, #else and #endif. These directives are used for conditional compilation.

When To Use #ifdef
1. When we want the compiler to skip certain part of the source code: For this we could even use multi-line comment, but if we already had multi-line comments in the code, we can’t enclose the source code and multi-line comments with another multi-line comment. Nesting of multi-line comments are not allowed in C programming language. So instead of commenting the code we could make use of #ifdef directive.

2. To write portable code: For example, we could write code both for iOS and non-iOS devices. Using #ifdef we could check the device OS and based on that deliver specific set of codes. For this we can use #ifdef


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...

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Conditional Compilation In C:

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Conditional Compilation In C: #if #elif #else #endif

Conditional Compilation In C: #if #elif #else #endif

#ifdef #ifndef Conditional Compilation Directives | C Programming Tutorial

#ifdef #ifndef Conditional Compilation Directives | C Programming Tutorial

you will never ask about pointers again after watching this video

you will never ask about pointers again after watching this video

#if #elif #else Conditional Compilation Directives | C Programming Tutorial

#if #elif #else Conditional Compilation Directives | C Programming Tutorial

Immediate JSON Parsing in C

Immediate JSON Parsing in C

Feeling Good Mix - Emma Péters, Carla Morrison

Feeling Good Mix - Emma Péters, Carla Morrison

Россия потеряла регион / Сложное решение Украины

Россия потеряла регион / Сложное решение Украины

I made the PC I couldn't buy

I made the PC I couldn't buy

Самая холодная деревня в мире (Это видео стоило мне здоровья) -71°C

Самая холодная деревня в мире (Это видео стоило мне здоровья) -71°C

C++ 26 is Complete!

C++ 26 is Complete!

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]