Added advinventory.cpp - snapshot #1
(out of 12 versions of its backup copies saved on my disk)