.h jsou hlavickove soubory, ty obsahuji pouze deklarace (funkci / trid / ...) a potrebne include, tedy hlavickovy soubor by mel obsahovat pouze toto
#ifndef JEDINECNYIDENTIFIKATORHLAVICKY
#define JEDINECNYIDENTIFIKATORHLAVICKY
//tady bude include, napr #include <string>
String fceLeftChar(String retez, char co);
#endif
.cpp soubor by mel zase obsahovat toto
#include "hlavicka.h"
String fceLeftChar(String retez, char co) {
  // Vrátí text před co: "asd#er", '#' -> "asd", pokud neexistuje/co je první->"".
  String sss = retez;
  sss.trim();
  int poz = fceNajdiPozici(sss, co, 0);
  if (poz <0) return "";
  String out;
  out = sss.substring(0, poz);
  return out;
}