C++: Remove sketch code