- 1
Conversion between q_based string and integer
How can I make a function that converts a q_based string into an integer in C? Ex. (Binary to decimal, Octal to decimal, etc) Int q2num(char num_q[], int q)
1 Resposta
0
There are functions in the stdlib that will convert a string to a number, but I'm not sure what you mean by "q_based string"
http://www.cplusplus.com/reference/cstdlib/