Блог пользователя RakibJoy

Автор RakibJoy, история, 5 лет назад, По-английски

In this submission 104338791 of mine there is an array named sufmn.But later I declared a vector also named sufmn and it caused no problem.Can anyone please explain this?

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

One is global and one is local C++ allows naming with same identifier in different scopes. You need to use scope resolving operator for accessing your array.