Well, that allowed the code to compile. However your problem is not the error, it appears to be an underlying misunderstanding of how C++ works.
There are many excellent tutorials out there on the internet, and I would strongly suggest you look one up and get to grips with the fundamentals of programming, lest we wind up with another thread like this next time you get an error.
For instance, changing it to vessel->AddExhaustStream worked, but why did it work? If you can't answer that, you need to study until you're able to. I don't want to sound harsh, and my point is not "You made a fail, hahaha", my point is that coding is a logical process, it is perfectly possible to get your head round it, and you will need to have a grip of the basics before you will be able to properly code addons for Orbiter.
That said, I wish you every luck with it. You're at least one of only a few who actually try.