2011-10-12 01:15:14 UTC
I recently created a win32 console app project...as an empty project
I have two .c programs in the source file.
one of the program is (hello world) and the other is an (even number check) program.
the files are hw.c and evenno.c
When i try to debug any of the two programs....I get an error
1>------ Build started: Project: c projects, Configuration: Debug Win32 ------
1>numprint.obj : error LNK2005: _main already defined in hw.obj
1>C:\Users\Pramit Kumar Pal\documents\visual studio 2010\Projects\c projects\Debug\c projects.exe : fatal error LNK1169: one or more multiply defined symbols found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
after the error i get the following line as given below
Unable to start program----C:\Users\Pramit Kumar Pal\documents\visual studio 2010\Projects\c projects\Debug\c projects.exe
The system cannot find the file specified.
What to do??...
Help please