How would you compile C or C++ code to run within Windows and not DOS? I mean, how does Windows handle things like stdin and stdout? Anyone know where I could get info on where to begin with Windows programming?
Also, I was wondering what language windowed programs are written in, like notepad or calc for example.