PDA

View Full Version : [Solved]Parameter Shadowing?



T0bi4s
13th January 2010, 17:43
Hi quick question

what could :

C:/Users/Tobias/Desktop/Schule/AINF/Diplomarbeit/New01/schlichtmuster.cpp:11: error: declaration of 'stack s' shadows a parameter

mean?

i just create an object of stack in a function and he says this :confused::confused:

hope someone can help me

thx tobi

wysota
13th January 2010, 18:30
I bet one of your function parameters is called "stack" as well. Correct?