C++ (integers' length, easy and fast) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

C++ (integers' length, easy and fast)

I was working on a program in c++, and I needed the length of an integer. Seeing that I couldnt use length() function to calculate it I found this way by myself. (beacouse length() doesn't work eith integers, only with strings) https://code.sololearn.com/c7Uu2Ag1nQW3/?ref=app

19th Dec 2017, 5:39 PM
CuriousCI
CuriousCI - avatar
1 Answer
+ 2
Thanks, but code section is for codes 😃
22nd Dec 2017, 6:54 PM
Vukan
Vukan - avatar