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 » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » Dumb bug. Improper use of Null
Dumb bug. Improper use of Null [message #52318] Thu, 05 September 2019 12:13 Go to previous message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
	int a = Null;
	int64 b = a;
	if (IsNull(b))
		Cout() << "I wanted this";
	else
		Cout() << "Oh no!";


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Nested template question
Next Topic: FP exception vs NaN
Goto Forum:
  


Current Time: Sat Apr 20 06:39:53 CEST 2024

Total time taken to generate the page: 0.05619 seconds