C++ can be used in web development, alot of the time its used to access SQL servers and what not but the options are pretty much limited only by the knowledge of the developer. If you use frontpage for development just look in MSDN for any applicable examples. As for programs running in a dos-like window, learn about windows development! You can program in windows with C++,C,C#,VB
,ect. Look for Win32API development on the web. Their are a lot of good free tutorials out there. By the way Windows was programmed in C, so don't think that just because you haven't learned about it yet that it can't be done.(And of course the only real difference between C and C++ these days is the mindset for programming).