When I try to add struct in two-dimensional array
cin>>array[1][items.stoka_ime];
in error list write this:
IntelliSense: no operator "[]" matches these operands
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From your question its not clear what is your actual problem. So i just show a sample of array and structure combined usage.
For arrays of structures
Arrays in structures
For pushing into queue array of structures: