I’m afraid that functionality is not available on the FCC curriculum. The test kits for Project Euler are written for JavaScript.
However, you can see what the tests will pass to your function and what they return, so you could write your code in C++ in your own IDE and test it yourself.