So I was wondering how can I convert my string char code[5]
to an integer number, so I can make a multiplication.
For example on my code I want to do this:
int duracaoinicial = code[2] * 100;
and
int duracaofinal = code[4] * 100;
But my string is CHAR so I can't do that.
Hope you guys can help me, I feel like that it is pretty simple but I'm stuck I don't know why.