Click here to Skip to main content
15,900,108 members

Comments by Romyal Swarnkar (Top 3 by date)

Romyal Swarnkar 22-Jul-22 1:26am View    
@Imran the vector class is already included. It was the missing parenthesis that was causing the issue as Dave pointed out.
Romyal Swarnkar 22-Jul-22 1:24am View    
It initializes the vector with five zeroes. It's the same as writing vector<int> (5,0). But for some reason you can't initialize like that outside a method inside a class.
Romyal Swarnkar 22-Jul-22 1:22am View    
Thank you Dave. That missing parenthesis was the issue.