Examples
test
program (is used in other examples)
filecp
program (copies one file into another)
cat
program (prints files on the screen)
named pipe server
and
client
another named pipe client
(based on
CallNamedPipe
function)
exec
program (executes a separate process)
program redirects standard output of the new process to a file
program redirects standard output of the new process to an anonimous pipe
exec2
program
(executes two separate processes and connects them with a pipe redirecting their standard input and output)
How to kill a child process
.
What closing a process handle does to the process
.
How to kill a process if you know its ID
.
How to keep information about running processes:
Step 1: plist.cpp
Virtual functions and inheritance
.
Virtual function vs. overload function
.
How to control termination of your program by user
.
Reading directory information
.
How to terminate an process using a remote thread
.
Binary search
.
Word count program
with and without hash. Use this
big text file
for testing.
Stack