No one knows if it stays undetected longer. It's all about making it private. Make a private hack and it will stay undetected for a long time. Mybe a month (if you wont share it).
Umm... and no I dont know any tutorials about making a hack in C++.
But for begginers, I think you should make a hack in Visual Basic 6. So you can learn. When you get a little more advance you can start with C++.
But remember, C++ and Visual Basic are 2 different things.