# HeaderNotebook

"HeaderNotebook" is used for `.h` or `.hpp` files.

## Usage

### Setup

```javascript
const Nodebook = require('nodejs-notebook');

const cheader = new Nodebook.HeaderNotebook('kihei');
const cheaderClone = new Nodebook.HeaderNotebook('kihei2', 'c');
// Creates a .h used for C and C++ files

const cppheader = new Nodebook.HeaderNotebook('maloi', 'c++');
// Creates a .hpp used for C++ files

/*
Header defaults to .h when not provided or is not a 
valid language
*/
```

**include(module)**

string `module`:\
The module to include.

```javascript
cheader.include('stdio.h');

cppheader.include('iostream');
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nodebook.js.org/c-c++/headernotebook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
