BF_StringToInt : convertion d'une chaine de caractère en entier

Prototype :
int BF_StringToInt (
      const string sString,
      const int iBase = 10);


sString
Chaine à convertir (string).

iBase
Base du nombre contenu dans sString.
Par défaut, base 10.

Valeur de retour
Entier.

Divers

Exemples
int iMonEntier = BF_StringToInt ("123");
ou
int iMonEntier = BF_StringToInt ("1010001001", 2);