0

Convert program into function

I would like to convert the following code into a function that accepts two arguments (char* problem, int symbolCount) and returns the array of ints I can store. The code I have is doing it just fine but when I try and turn it into a function it to use repeatedly in my code it gets unwieldy. Any help or suggestions are greatly appreciated. https://code.sololearn.com/cAYktUaI6LPN

30th Jan 2020, 7:52 PM
Shay Christensen
Shay Christensen - avatar
3 Respuestas
+ 2
Can you show us your attempt ?
30th Jan 2020, 8:28 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
30th Jan 2020, 8:46 PM
Shay Christensen
Shay Christensen - avatar
0
yes i actually made that change just before seeing this! thanks!
31st Jan 2020, 1:05 AM
Shay Christensen
Shay Christensen - avatar