IT

.hh Header C++

Testo e codice sorgente

Tipo MIMEtext/x-c++hdr
DescrizioneHeader C++
CategoriaTesto e codice sorgente
Basato sutext/x-chdr
Altre estensioni.h++, .hp, .hpp, .hxx

Domande frequenti

Che cos’è un file .hh?

Un file .hh è un formato di tipo «Header C++» (tipo MIME text/x-c++hdr).

Come apro un file .hh?

Con qualsiasi editor di testo: Notepad++, Visual Studio Code, oppure gedit e vim su Linux. Il file contiene testo leggibile, eventualmente codice sorgente o configurazione.

Come si riconosce un vero file .hh?

Per questo formato non è registrata una firma fissa all’inizio del file; viene riconosciuto soprattutto dall’estensione. Su Linux e macOS, file --mime-type example.hh mostra il tipo presunto.

Su quale formato si basa .hh?

Tecnicamente un file .hh è un sottotipo di «Header C» (text/x-chdr), quindi i programmi per quel formato di base spesso riescono a leggerlo.

Quale tipo MIME corrisponde a .hh?

Il tipo MIME è text/x-c++hdr. Nel server web Apache: AddType text/x-c++hdr .hh; in nginx: types { text/x-c++hdr hh; }.

Voci vicine