hello,
I am currently developing a command for trinity, and I need to convert the type char to uint64.
Is there a function or other to do this?
sorry if I post in the wrong place and also sorry for my bad english.
thank you for reading.
hello,
I am currently developing a command for trinity, and I need to convert the type char to uint64.
Is there a function or other to do this?
sorry if I post in the wrong place and also sorry for my bad english.
thank you for reading.
[CODE]char a = 10;
uint64 b = (uint64)a;
// b = 10[/CODE]
[CODE]char a[] = “10”;
#ifdef WINDOWS
uint64 b = _atoi64(a);
#else
uint64 b = atoll(a);
#endif
// b = 10[/CODE]
Depends on what you mean by char.