I recently started programming in C++ after a long time because I want to test something in C++. In my code I need to know the length of an integer. The reason for this is that I want to recheck whether I should go for "signed int" or "unsigned int" so that there does not occur any errors or warnings. I remember we could that in VB using the len function, but I didn't remember how to do that in C++? Can anyone help me to remember the correct function that I should use to get the length of integer?
Bookmarks