Hi, I am trying to figure out how write a code to read in a listof integers separated by commas into an array in c++, whileignoring the commas.
example input
5, 2, 8, 6, 3, 6, 9, 7
example array:
int arr[] = {5,2,8,6,3,6,9,7};
Expert Answer
An answer will be send to you shortly. . . . .