I've tried several methods and now I've gotten all confused :wacko: .
So I have a number inside a string. Let's take, for example, "200." Now, I want to convert the string into a long and divide it by 2 then store it back inside a string. I tried using ostringstream, but couldn't get it to work correctly.
But do people really want it, or just put up with it, or is it being offered for free because people are not willing to pay for it?
Most people I know have no interest in this AI stuff and just use the phone the same way, the only reason the majority have Gemini on their phone is because it is pushed onto the phone. I disabled it on my as soon as it was pushed to me, I realise i am not everyone, but I expect a lot of people uses this AI rubbish because it is there,
Easy for me, I have never used WhatsApp. Not sure what will happen in the U.K, we are not part of the E.U anymore, so I expect WhatsApp to have adverts here.
Question
Blackout
I've tried several methods and now I've gotten all confused :wacko: .
So I have a number inside a string. Let's take, for example, "200." Now, I want to convert the string into a long and divide it by 2 then store it back inside a string. I tried using ostringstream, but couldn't get it to work correctly.
Does anyone know what to do?
Link to comment
https://www.neowin.net/forum/topic/274948-c-number-to-string/Share on other sites
11 answers to this question
Recommended Posts