Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redefinition error!!!

Status
Not open for further replies.

cre8orrr

Technical User
May 6, 2002
21
0
0
AU
hi everyone...

the header file is compiled with a compiler gcc-2.95.3-1
i am using microsoft visual c++ v6.0.

the declaration of header file is:
concordance(const int min = 1);

when i am using this declaration in my cpp file
i am getting :redefiniot error"

it works when i am using this:
concordance(const int min);

can somebody tell me if i can make the program run without error using the original declaration (with "=1")
thanks alot
 
i would think that in some part of your program, u declared min as int for a second time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top