Functions + Variable Scope - Part 14 of C Programming for Beginners

preview_player
Показать описание
The golden rule of programming is make your code as concise as possible. Functions enable you to reach that goal by enabling you to avoid rewriting the same piece of code multiple times within your program. Functions allow you to define a set of commands at the beginning of a program and reuse it many times later on with only one line of code. Defining functions requires a programmer to be conscious of a variable's scope, or the range at which a variable can be accessed with in a program. Accordingly, we are also discussing scope in this video.

My Patreon supporters for more than $5 for the month of March were: Jeffrey Jahja, Al Douglas, and Executor Akamia. Thank you very much!

Special thanks to my friend Preston Nichols for designing Builderdude35's introduction and logo!

Рекомендации по теме
Комментарии
Автор

Hey, i am struggling to program to make a car like tesla using 4 IRs


Aim is to:
-slow down when getting close to a car, and follow that car speed
- check left and right empty space, if its empty, change lane if forward car is moving slowly.

Any help would help.
thanks man

kingofthestiffs