Skip to content

Commit 279f7b9

Browse files
author
Colin Robertson
committed
Clarity
1 parent ca6ba4d commit 279f7b9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎docs/build/reference/i-additional-include-directories.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ Adds a directory to the list of directories searched for include files.
1212

1313
## Syntax
1414

15-
> **`/I`**[ ]*directory*
15+
> **`/I`** *directory*
1616
1717
### Arguments
1818

19-
*directory*<br/>
20-
The directory to add to the list of directories searched for include files.
19+
*directory*\
20+
The directory to add to the list of directories searched for include files. The space between `/I` and *directory* is optional. Directories that include spaces must be enclosed in double quotes. A directory may be an absolute path or a relative path.
2121

2222
## Remarks
2323

@@ -29,9 +29,9 @@ A [`#include` directive](../../preprocessor/hash-include-directive-c-cpp.md) can
2929

3030
The compiler searches directories in the following order:
3131

32-
1. If the **`#include`** directive is specified using double-quote form, it first searches local directories. The search begins in the same directory as the file that contains the **`#include`** directive. If this fails to find the file, it searches in the directories of the currently opened include files, in the reverse order in which they were opened. The search begins in the directory of the parent include file and continues upward through the directories of any grandparent include files.
32+
1. If the **`#include`** directive is specified using double-quote form, it first searches local directories. The search begins in the same directory as the file that contains the **`#include`** directive. If it fails to find the file, it searches next in the directories of the currently opened include files, in the reverse order in which they were opened. The search begins in the directory of the parent include file and continues upward through the directories of any grandparent include files.
3333

34-
1. If specified using a **`#include`** directive in angle bracket form, or if the local directory search has failed, it searches directories specified by using the **`/I`** option, in the order that CL encounters them on the command line.
34+
1. If the **`#include`** directive is specified in angle-bracket form, or if the local directory search has failed, it searches directories specified by using the **`/I`** option, in the order they're specified on the command line.
3535

3636
1. Directories specified in the **`INCLUDE`** environment variable.
3737

0 commit comments

Comments
 (0)