Oh, Kusio's right, you do need to adjust your keyboard first. Make sure you choose Polish programmers layout, in case your computer offers more than one layout.
If you're using Windows XP, that would be:
Control Panel > Regional and Language Settings > Languages
Click on Details. This leads you to a box called Text Services and Input Languages
On Install Services click Add
A box called Add Input Language comes up. Choose Polish as Input Language. Choose Polish Programmers for Keyboard Layout. Confirm.
Back to Text Services and Input languages. Make sure your Default Input Language is English. It won't hurt you if it's not as there are no special characters in it, but it helps keep things neat.
Go to the lowermost (is there such a word in English???) button "Key Settings..." and choose the key combination you want to use to switch between English and Polish. The default is usually Left Alt+Shift, but I've seen other combinations too. Suit yourself :)
Ok your way out of the system.
Enjoy your new Polish layout :)
Sorry if the explanation was unnecessary. Someone else might need it later. You never know :)
And for fun, the little accents, commas, dots, tails on the letters are called diacritics. Some of them are accents, many more are not ;-)