Languages

Fsharp
ActionScript
xBase
Clean
GPSS
PureBasic
Sieve
Erlang
JOVIAL
Mercury
Linda
DataFlex
PostScript
FoxPro2
VFP
Cobol
Prolog
Jython
Awk
VisualBasic
JavaScript
Matlab
ASP
Haskell
Csharp
D
Smalltalk
Nemerle
Pixilang
Java
SQL
Python
ObjectPascal
Ruby
Perl
Pascal
Assembler
PHP
C
Functions  Add function  Users  Registration  Enter   About  ASCII Table  Our helpers

assert in C

Declaration:
void assert(int expression);
The assert macro allows diagnostic information to be written to the standard error file.

If expression evaluates to 0 (false), then the expression, sourcecode filename, and line number are sent to the standard error, and then calls the abort function. If the identifier NDEBUG ("no debug") is defined with #define NDEBUG then the macro assert does nothing.

Common error outputting is in the form:
Assertion failed: expression, file filename, line line-number
Example:
#include<assert.h>

void open_record(char *record_name)
{
assert(record_name!=NULL);
/* Rest of code */
}

int main(void)
{
open_record(NULL);
}
Add by Pancho
You can edit it here
abcarticle.ru (blockart[dog]mail[dot]ru)
G7Vo44 <a href="http://oyahbzrzhlhj.com/">oyahbzrzhlhj</a>, [url=http://hamdnmqnhvxy.com/]hamdnmqnhvxy[/url], [link=http://ktavwzlrnogj.com/]ktavwzlrnogj[/link], http://pglsfvpzmvsc.com/
abcarticle.ru (blockart[dog]mail[dot]ru)
yfmSPe <a href="http://jkzyxblxisde.com/">jkzyxblxisde</a>, [url=http://hvacmqvdmcgc.com/]hvacmqvdmcgc[/url], [link=http://sxgodefrofya.com/]sxgodefrofya[/link], http://fpaarpyxrque.com/
Adding comments is available only for registered users.

Revisiting Chicxulub

An artist's rendering of the moment of impact at the end of the Cretaceous.

For decades, scientists have accumulated ever-larger datasets that suggest an enormous space rock crashed into the ocean off the Yucatan Peninsula more than 65 million years ago, resulting in the Cretaceous-Paleogene (K-Pg) extinction.

Recent research, supported in part by the National Science Foundation (NSF), suggested that the impact could have occurred 300,000 years prior to the K-Pg extinction, and that another cause--perhaps a second impact, or the long-lasting volcanic activity ...

More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=116480&WT.mc_id=USNSF_51&WT.mc_ev=click


This is an NSF News item.

PycckaR
BepcuR


Articles
Articles


Library
Library


Downloads
Downloads

Google Chrome Golf 6
 © Internet, books, teachers and Rudevich Alexander brains.