thank you krizej I actually forgot about g++ -D
this allows for creating only input and output streams and allows me to finally print out the generated config struct