2) cgminer -o http:api.bitcoin.cz:8332 -USERNAME -p PASSWORD
cgminer.exe -o api.bitcoin.cz:8332 -u USERNAME -p PASSWORD
I've tried that too and it doesn't work. When i try to use guiminer then it's fine but i got ~250Mh/s instead of ~355Mh/s with cgminer :/
Once you get it back running again and the instructions above should get you very close if not running. Do the following Press "s" then when settings menu comes up (assuming you are using curses) then Press "w" no need for the quotes they just set it off from other text then "Enter". This will write a config file. It will have your pool and credentials in it. It will load everytime cgminer starts. This should get you up and running quickly and easily for the long term.
Turns out slush's pool does use api for getwork. So what you had before http://api.bitcoin.cz:8332 would work if you do the following.
At the first one after no pool found put in http://api.bitcoin.cz:8332
next prompt: your user name
Next prompt: your password
As stratum is more efficient and less likely to have rejects it would likely be a far better idea since your pool supports statum and so does cgminer to use stratum. Your rejects will likely drop to 10% of what they where or lower. As an examle 1% rejects getwork is likely under .1% rejects on stratum.