We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8df9a24 commit 845c4a6Copy full SHA for 845c4a6
Chapter21/readScanSet.c
@@ -1,16 +1,17 @@
1
// readScanSet.c
2
// Chapter 21
3
-// Learn C Programming - Fundamentals of C
+// Learn C Programming
4
//
5
// Demonstrate how to use a scan set to limit
6
// character inputs.
7
8
-// compile with: cc readScanSet.c -o readScanSet -Wall -Werror -std=c11
+// compile with:
9
+//
10
+// cc readScanSet.c -o readScanSet -Wall -Werror -std=c11
11
12
13
#include <stdio.h>
14
-
15
// Test inputs:
16
17
// aayyeeuuiioo<return>
@@ -20,10 +21,8 @@
20
21
// a e i o u y<return>
22
23
24
const int bufferSize = 80;
25
26
27
int main( void )
28
{
29
char stringBuffer[ bufferSize ];
@@ -33,4 +32,4 @@ int main( void )
33
32
}
34
35
// eof
36
+
0 commit comments