lesson 4 twolines c
[[lesson_4_twolines_c]] last edit on
Aug 8, 2005
4:25 AM
by rescued_by_c
[user02@FC4 Lesson04]$ cat -n twolines.c
[user02@FC4 Lesson04]$ ./twolines
This is line one
This is line two
1 #include <stdio.h>
2
3 int main(void)
4 {
5 printf("This is line one\nThis is line two\n");
6
7 return 0;
8 }
[user02@FC4 Lesson04]$ gcc -o twolines twolines.c[user02@FC4 Lesson04]$ ./twolines
This is line one
This is line two