January 28th, 2010, 10:51 PM
You can use forward declarations and hide the object implementation behind a pointer.
So A.h would look like
February 12th, 2009, 10:56 PM
is not going to do what you want it to (the condition will always be true). Instead do
if( a >= 2 && a <=7 )
// Do something
December 20th, 2007, 10:12 PM
Use cygwin. It contains most of the tools that you accustom to (vi, emacs, gcc, gdb, etc). It is basically a linux like environment that runs on a windows platform.
I think that this is...
December 20th, 2007, 05:13 PM
Just to answer my own question just incase anyone else faces this problem:
In gcc there are INFINITY and NAN defines in math.h. However you need to compile the source with gcc -std::c99. ...
December 19th, 2007, 06:29 PM
But this could vary from compiler to compiler. I need a function or macro. Also what about Nan?
December 19th, 2007, 05:41 PM
I was wondering what the equivalent to
would be in C.
I have tried