Play audio the simplest way possible (from console)

It would help, if you post the text next to the breakpoint, it usually explains what happened :wink:
In this case I guess, that the path was not accepted. On windows, you use backslashes. But because they have a special meaning in C/C++ code, you have to quote them, that means preceding the backquote with a backquote.
Long story short, try:

File input ("C:\\bongo.wav");

And for building filenames later use File::getSpecialLocation() and from there File::getChildFile(), that way you won’t need to worry about slash or backslashes, and your code works on any plattform juce supports…

To make it work on any plattform. Some systems have one tree, others have drives with letters…
The JUCE-way is to start with a so called ā€œspecial locationā€, e.g.

File input = File::getSpecialLocation (File::userHomeDirectory).getChildFile ("bongo.wav");

There are a many different predefined locations, see File::SpecialLocationType…

Or you can work in the current directory:

File input = File::getCurrentWorkingDirectory().getChildFile ("bongo.wav");