Need to make int from hex representation string like "0xFA"
or better "FA"
. Need something like atoi("FA")
. Is there are any standard solutions for that?
相关问题
- Multiple sockets for clients to connect to
- What is the best way to do a search in a large fil
- glDrawElements only draws half a quad
- Index of single bit in long integer (in C) [duplic
- Equivalent of std::pair in C
Try to use strtol():