hi, I am new to programming and looking for some help, here is the portion of the assignment that is giving me headaches:
using one function, upload (i.e., input) the integer value and the color text, ignoring the word "Color:"; the function must only upload one data pair (i.e., the integer value and the color text) at a time, using pass by reference
the data.txt file is in this format:
9006045, Color: CYAN
I'm not sure how to a) get the data ignoring the (color:) portion of the dataset, and b) how pass by reference works? Thanks for any assistance.