MadSci Network: Computer Science
Query:

Re: What is bitmap(in FORTRAN & C++) and the meaning of BITMAPFILEHEADER?

Date: Sun Mar 26 17:03:48 2000
Posted By: David Gould, Software Engineer
Area of science: Computer Science
ID: 953955334.Cs
Message:


Hi!

That is a structure which is being given a name of "tagBITMAPFILEHEADER".  
If you are more familiar with C++, this page
 http://msdn.microsoft.com/library/wcedoc/wcesdkr/uis_ad_4.htm

from the Microsoft MSDN library might explain it better.  It also explains 
what each member of the structure is for (better than I could anyway).

So when you wanted to declare a "tagBITMAPFILEHEADER" later in your FORTRAN 
program, you could just use "tagBITMAPFILEHEADER" much like a typedef in 
C/C++.

As for your second question, the D is the letter (which most likely stands 
for Double precision) which seperates the mantisa from the exponent.  For 
example:

1.D0 = 1.00000 * 10 ^ 0 
123.456D78 = 123.456000 * 10 ^ 78

This is a place holder you most likely have seen an "E" in on most 
calculators.  Same thing.

Hope this answers your questions!


Current Queue | Current Queue for Computer Science | Computer Science archives

Try the links in the MadSci Library for more information on Computer Science.



MadSci Home | Information | Search | Random Knowledge Generator | MadSci Archives | Mad Library | MAD Labs | MAD FAQs | Ask a ? | Join Us! | Help Support MadSci


MadSci Network, webadmin@www.madsci.org
© 1995-2000. All rights reserved.