!!!!!I AM NOT WANTING ANYONE TO DO MY HOMEWORK...I JUST NEED SOME HELP WITH UNDERSTANDING!!!!!
I am writing a program for class and I keep running into a "no operator" error when I try to input information into my structure. The section I am having problems with are here
cin >> CLASS[I].SSN;
at the >> and I have tried to find information about what I did wrong and how to fix it from Bing, Google, and many other search engines, but to no avail. I am not looking for a strait answer, but if someone could explain what I did wrong and how to fix it and to explain a little bit more on how to use structures I will be ok. Thank you in advance.
Can you put more sample code ? CLASS[I].SSN is a object variable with SSN as it's data member ? What is SSN data-type ? I inside the square bracket is a variable ? etc etc
Ok i am using a structure named student with SSN, LAST_NAME, FIRST_NAME, and BALANCE_DUE within the structure. I also defined SSN as an int. The coding for the structure looks like this:
where CLASS[I] is the array structure and .SSN should point back into the array for storage. What i dont understand is why the >> is telling me it is not an operantor when it is an operator. Can you explain why?
so pretty much what is going on is that SSN is an array within the structure and the structure is also an array of CLASS and when i am wanting to input the info i would need to point back to both the array of CLASS and the array of SSN?