C++ hole plate experiment