Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

problem in micro c, plz hlp

Status
Not open for further replies.

peter002

Member level 3
Joined
Mar 18, 2013
Messages
56
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Hindusthaan
Activity points
1,765
hello brothers, i ve just started working in microc pro, the problem is that wen i wrote a test code for the first time , it worked fine but after that wen i ever i m trying to write another code the software always shows error that main indentifier is redefined...
i dont know what the probem is... i hav tried al i could, ike i ve deleted a older projects and tried new project with diff names, i ve even kept the main c file empty only containing void main ad its braces and after saving it and compiling itshows same error again, plz hp me..
thanx in advance
 

horace1

Advanced Member level 5
Joined
Nov 18, 2008
Messages
2,123
Helped
596
Reputation
1,188
Reaction score
573
Trophy points
1,393
Location
Norwich, UK
Activity points
13,071
look in the other files in the project, you must have another main() defined in one of them
you should only have one main() function defined in a project
 

peter002

Member level 3
Joined
Mar 18, 2013
Messages
56
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Hindusthaan
Activity points
1,765
brother i did not added more than one file, there is only file added in a project..there arent two files..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top