U++ framework
Do not panic. Ask here before giving up.

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: 3459
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: Sun May 24 23:42:54 GMT+2 2026

Total time taken to generate the page: 0.00503 seconds