C++ old swag code