Learn C Programming on Raspberry Pi - 13 - The switch statement

preview_player
Показать описание
Learn how to control programs and make decisions in #C programs based on integer values. The #switch statement is also used in the same way in other languages such as #C++ and #Java.
Рекомендации по теме
Комментарии
Автор

Hi, While I've been programming in 'C' for over 10 years, the RasPi2 has some new challenges. Thanks for your videos. I used a 'for loop' in some code today, and got a compile error, with a note: 'use option -std=c99, or -std=gnu99'. How do I do that? John 

johnharris
Автор

P.S. I should have said 'How do I do that with the Geany Build Commands?'.

johnharris
visit shbcf.ru