[user02@FC4 Lesson12]$ cat -n syscall.cpp
1 #include <cstdlib>
2
3 int main()
4 {
5 system("ls");
6
7 return 0;
8 }
[user02@FC4 Lesson12]$ g++ -o syscall syscall.cpp[user02@FC4 Lesson12]$ ./syscall
a.out cint.txt showtime.c sqrt sqrt.cpp syscall.c vcgcc.txt
bcc.txt showtime showtime.cpp sqrt.c syscall syscall.cpp vcgpp.txt
[user02@FC4 Lesson12]$
lesson_12_syscall.cpp, Rev. 2, Last changed on 2005-08-18 07:00, 347 page hits