Problem creating own assert()

Started by
20 comments, last by kordova 21 years ago

  void _DebugAssert(bool Expr, const char *szExpr, const char File, int Line)should be:void _DebugAssert(bool Expr, const char *szExpr, const char *File, int Line)  




Kippesoep
Advertisement
quote:Original post by Kippesoep
void _DebugAssert(bool Expr, const char *szExpr, const char *File, int Line)


Names starting with an underscore and a capital letter are expressely off-limits to user code at global scope.

Names with two underscores anywhere are expressely off-limits at any scope.


[ Start Here ! | How To Ask Smart Questions | Recommended C++ Books | C++ FAQ Lite | Function Ptrs | CppTips Archive ]
[ Header Files | File Format Docs | LNK2001 | C++ STL Doc | STLPort | Free C++ IDE | Boost C++ Lib | MSVC6 Lib Fixes ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement