problem using debugger

I was testing my program which has been running fine for a while. I wrote it using microsoft visual c++ 2010. I started to get some bugs so I was using the debugger and setting a break point (I had never tried this before). When I took the break point out I went back to run my program again and it wouldn't compile. I get two errors when I try to run the program now:

Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

Error 2 error LNK1120: 1 unresolved externals

I didn't make any changes to my code so it seems these errors arose after I started using the debugger. Any ideas of what is going on???


1 and 2 refer to the same problem.

You're having a problem with your main. Did you start this project on VC++ 2010 or start it elsewhere and import?

Still, you'll need to post your main function and perhaps the five preceding and five succeeding lines around your main.
Last edited on
Nevermind. I resarted my computer and the problem went away. Im not sure what happened
Topic archived. No new replies allowed.