accepted in C++