Arrays Introduction

  • + 0 comments

    Once my teachers said me that declaring a pointer like int numElements; cin >> numElements; int arr[numElements]; would lead me to static memory issues. They suggest me to implement dinamic memory. Is there a special fact to ignore my teachers in this case? Help me, because i don't see anyone complained with this. Sorry for my english.