I am trying to make a Data Structure through Variable, so that way I can organize my information easily, I am not sure if I am doing it right, or if I am doing it wrong, or if theres another way, please someone say say so.
The idea.
Quote:struct brand {
char Mname,Mnum,Medi;
};
int main(){
std::string name;
std::cin >> name;
brand name;
}
Inputting Suzuki into name, I wanted to get this Output:
Quote:Suzuki.Mname
Suzuki.Mnum
Suzuki.Medi
However, I am getting some errors which are multiple delcaration and such, is there anyway to get around that or some how reach my idea or goal?