2 583
edições
(→Algoritmos oficiais de conversão hexa: nova seção) |
|||
Linha 40: | Linha 40: | ||
* generico diversas baeses, https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/std/charconv#L107 | * generico diversas baeses, https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/std/charconv#L107 | ||
* __to_chars_16 https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/std/charconv#L176 | * __to_chars_16 https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/std/charconv#L176 | ||
* ... inversa (prefix 0x or 0X indicating hexadecimal base - applies only when the base is 16 or 0), https://en.cppreference.com/w/cpp/string/basic_string/stol | |||
Outras dicas sobre a conversão em C: | |||
* sprintf o mais popular, https://stackoverflow.com/a/9636892/287948 | |||
* algoritmos similares, https://stackoverflow.com/a/4966309/287948 |
edições