M
M
Muriam2019-01-31 17:31:09
C++ / C#
Muriam, 2019-01-31 17:31:09

How to create a header file?

How to create and include a header file in C++ builder?
With this, describe the class of the following structure in it:

struct head
{
  short bftype;
  long  bfsize;
  short rez1, rez2;
  long  bfoffbits;
  long  bisize;
  long  biwidth;
  long  biheight;
  short biplanes;
  short bibitcount;
  long  bicompression;
  long  bisizeimage;
  long  bix;
  long  biy;
  long  biclrused;
  long  biclrimp;
} head_file;

this is the bmp file structure
https://ru.wikipedia.org/wiki/BMP

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Soslan Khloev, 2019-01-31
@hloe0xff

Create a file name.h, and in the code include it in the place you need.
#include <name.h>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question