Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » What does !! in e.g. FtpClient class mean?
Re: What does !! in e.g. FtpClient class mean? [message #39625 is a reply to message #39623] Wed, 10 April 2013 14:50 Go to previous messageGo to previous message
NilaT is currently offline  NilaT
Messages: 70
Registered: November 2011
Location: Austria
Member
Hi and thanks for the fast answer.

I tried to search the site, but "!!" or "not not" are not really good search terms Wink

So you cast int to bool with a "!"?
And then you return exctly the opposite?

So if the function returns 0 (which would be false in bool statement anyway, so why cast?) you convert it to bool, and then the second "!" returns true?
Is it right?

It's a bit confusing though Razz

[Updated on: Wed, 10 April 2013 14:52]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IML including on multiple headers/cpp files
Next Topic: What does SSE2 usage enhance?
Goto Forum:
  


Current Time: Sun May 12 02:08:43 CEST 2024

Total time taken to generate the page: 0.03007 seconds