#include <stdio.h>
#define NDEBUG //assert影响程序性能,程序确定正确后禁用assert
#include <assert.h>
#include <stdlib.h>
#include <iostream.h>


int main( void )
{
 char *fp=NULL;
 assert( fp );                            //所以这里出错
 cout<<"ok";
 return 0;
}