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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

c++ compiler Error

Status
Not open for further replies.

boon21

Technical User
Dec 18, 2005
7
US
Hello
I have a cide that my friend wrote on unix.
When i compile it in windows XP I have a ompiler error c2374: edefinition; multiple initialization,
This erroris about is about this line of the code:
for (int pp=5; pp <= 11; pp++).
My compiler is microsoft visual c++.
Does anyone knows how to solve this?
Thanks
 
you posted your question in the wrong forum...

but from the error i can say that you already initialized pp somewhere else in the program...and thats the reason you are getting multiple initialization error...

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top