With console apps I can use cin and cout, but then in windows apps (using bloodshed dev c++ 's windows template) If I try and use cin or cout I get nothing. I assume this has something to do with redirecting the standard input and output streams. So I have a few questions about this,

1) For the windows app where is the standard input and output stream redirected as default?

2) How can I redirect the standard inout and output streams to a console if one does not exist in a windows app?