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 5526b23 commit a6cf0ceCopy full SHA for a6cf0ce
Chapter21/readString2.c
@@ -1,12 +1,14 @@
1
// readString2.c
2
// Chapter 21
3
-// Learn C Programming - Fundamentals of C
+// Learn C Programming
4
//
5
// Demonstrate how to read and write a string with
6
// gets() and puts().
7
// Compare this program to readString.c
8
9
-// compile with: cc readString2.c -o readString2 -Wall -Werror -std=c11
+// compile with:
10
+//
11
+// cc readString2.c -o readString2 -Wall -Werror -std=c11
12
13
14
@@ -22,4 +24,6 @@ int main( void )
22
24
gets( stringBuffer );
23
25
puts( "You entered: " );
26
puts( stringBuffer );
-}
27
+}
28
+
29
+ // eof
0 commit comments