Why don't you explain rather than fire off smart-aleck comebacks? If the only way submarines avoid running into things is maps, then there ought to be a lot more groundings and rammings than there are.
You're right. They have windows. Certainly you've seen "20,000 Leagues Under the Sea".