how can i perform this substraction operation using void function and string? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

how can i perform this substraction operation using void function and string?

help me please, i want to substract a determinator number of values. the user input the ammount of values tu substract, i made a vector according to the ammount inputted. the code https://code.sololearn.com/ceIR507uibLm

26th Apr 2020, 8:21 AM
Aarón Alva
Aarón Alva - avatar
1 ответ
0
Try to make <vector> a dynamic array, variable length arrays may not be supported on various compilers. You mentioned string, but what a string got to do with number subtraction? I didn't get it. https://www.sololearn.com/learn/C/2950/?ref=app
4th May 2020, 3:39 PM
Ipang