Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Assertion

 
Satyajeet Kadam
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assertion Error:
Please tell where is the problem

 
Anton Uwe
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"assert t>1:foo(8);" surely will not compile, because "foo(8)" does not evaluate to a value. But what do you mean with "problem"?
 
Anton Uwe
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Edit: Double post due to a forum error.
[ March 06, 2007: Message edited by: Anton Uwe ]
 
Atul Sawant
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
assert should return anything but void.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic