Demonstrating how to write hacking programs, this collection of hacking tricks teaches programmers how to create software pranks and network programs. Nonstandard C++ programming techniques as well as undocumented functions that will make others smile and allow users to demonstrate practical skills in programming and computer support are covered. Special attention is paid to the creation of compact programs that are useful for those interested in optimizing programs. Network programming and how to program for the Internet or an intranet, how to create a fast port scanner, and how to write pranks are discussed. In addition to pranks and network programs, hacking algorithms are described so that programmers can learn what to expect from hackers and how to create a protection system with maximum efficiency.