lesson 12 syscall cpp
[[lesson_12_syscall_cpp]] last edit on Aug 18, 2005 7:00 AM by rescued_by_c

[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]$