alrite thanks, now it just instantly closes, I tried adding --system("pause") at the end and that didnt help either. Thanks for help, I'm not much of a programmer, and GUI miner seems to think 4850s dont have OpenCL.
I'm having a problem with my miner, when I try to use the batch file I wrote I get an error message saying 'Windows cannot find host= deepbit.net' . Heres the miner