How do i make an array with one column string and one column int?
this is kind of a homework question, but the actual homework part is sorting the info and using pointers, but i understand if you guys choose not to answer.
You can't store two types inside the same piece of memory such as an array. I can think of a few ways to implement what you need, but I don't know your constraints.