Skip to content

Commit 2fa003c

Browse files
authored
Elide some wrong uses of /c flag in C runtime library
1 parent d54db33 commit 2fa003c

15 files changed

+4
-15
lines changed

docs/c-runtime-library/reference/cprintf-cprintf-l-cwprintf-cwprintf-l.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ For more compatibility information, see [Compatibility](../compatibility.md).
8585

8686
```C
8787
// crt_cprintf.c
88-
// compile with: /c
8988
// This program displays some variables to the console.
9089

9190
#include <conio.h>

docs/c-runtime-library/reference/cprintf-s-cprintf-s-l-cwprintf-s-cwprintf-s-l.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ All versions of the [C run-time libraries](../crt-library-features.md).
9393

9494
```C
9595
// crt_cprintf_s.c
96-
// compile with: /c
9796
// This program displays some variables to the console.
9897

9998
#include <conio.h>

docs/c-runtime-library/reference/cscanf-s-cscanf-s-l-cwscanf-s-cwscanf-s-l.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ All versions of the [C run-time libraries](../crt-library-features.md).
9292

9393
```C
9494
// crt_cscanf_s.c
95-
// compile with: /c
9695
/* This program prompts for a string
9796
* and uses _cscanf_s to read in the response.
9897
* Then _cscanf_s returns the number of items

docs/c-runtime-library/reference/cwait.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ For more compatibility information, see [Compatibility](../compatibility.md).
7373

7474
```C
7575
// crt_cwait.c
76-
// compile with: /c
7776
// This program launches several processes and waits
7877
// for a specified process to finish.
7978

docs/c-runtime-library/reference/getch-getwch.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ For more compatibility information, see [Compatibility](../compatibility.md).
5454
5555
```C
5656
// crt_getch.c
57-
// compile with: /c
5857
// This program reads characters from
5958
// the keyboard until it receives a 'Y' or 'y'.
6059

docs/c-runtime-library/reference/getch-nolock-getwch-nolock.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ For more compatibility information, see [Compatibility](../compatibility.md).
5252
5353
```C
5454
// crt_getch_nolock.c
55-
// compile with: /c
5655
// This program reads characters from
5756
// the keyboard until it receives a 'Y' or 'y'.
5857

docs/c-runtime-library/reference/getche-getwche.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ For more compatibility information, see [Compatibility](../compatibility.md).
5555
5656
```C
5757
// crt_getche.c
58-
// compile with: /c
5958
// This program reads characters from
6059
// the keyboard until it receives a 'Y' or 'y'.
6160

docs/c-runtime-library/reference/getche-nolock-getwche-nolock.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ For more compatibility information, see [Compatibility](../compatibility.md).
5252
5353
```C
5454
// crt_getche_nolock.c
55-
// compile with: /c
5655
// This program reads characters from
5756
// the keyboard until it receives a 'Y' or 'y'.
5857

docs/c-runtime-library/reference/getdiskfree.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ For more compatibility information, see [Compatibility](../compatibility.md).
6666

6767
```C
6868
// crt_getdiskfree.c
69-
// compile with: /c
69+
7070
#include <windows.h>
7171
#include <direct.h>
7272
#include <stdio.h>

docs/c-runtime-library/reference/getdrive.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ For more compatibility information, see [Compatibility](../compatibility.md).
4343
4444
```C
4545
// crt_getdrive.c
46-
// compile with: /c
4746
// Illustrates drive functions including:
4847
// _getdrive _chdrive _getdcwd
4948
//

0 commit comments

Comments
 (0)