From be1b4e77dd0d6ecf9b1f04ca3a9bedfde7d8a948 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Thu, 18 Jan 2024 18:04:10 -0500 Subject: [PATCH] adding notes on include guards --- hws/02_ride_sharing/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hws/02_ride_sharing/README.md b/hws/02_ride_sharing/README.md index 801dc80..43fcb15 100644 --- a/hws/02_ride_sharing/README.md +++ b/hws/02_ride_sharing/README.md @@ -328,6 +328,8 @@ and at the very bottom of your .h file, add this line: #endif ``` +This technique is known as the "Include Guards". Include guards ensure that the compiler will process a header file only once, no matter how many times it is included. + ## Program Requirements & Submission Details Use good coding style when you design and implement your program. Organize your program into functions: