String to Int
Fermé
rezzoni0
Messages postés
48
Date d'inscription
dimanche 24 juin 2001
Statut
Membre
Dernière intervention
27 juin 2003
-
28 oct. 2001 à 10:25
scratchy - 29 oct. 2001 à 10:32
scratchy - 29 oct. 2001 à 10:32
A voir également:
- String to Int
- Qwerty to azerty - Guide
- Press del to enter setup ✓ - Forum Windows
- Video to video - Télécharger - Conversion & Codecs
- Télécharger word to pdf - Télécharger - PDF
- Cda to mp3 ✓ - Forum Logiciels
2 réponses
Convertit une chaîne en entier, en déclenchant une exception
si la chaîne n'est pas correcte.
int __fastcall ToInt() const;
Description
ToInt convertit en valeur entière la chaîne transmise, et renvoie cette valeur entière. Si la chaîne ne contient pas une valeur correcte, une exception EConvertError est déclenchée.
pour ToInt() il faut inclure dstring.h
si la chaîne n'est pas correcte.
int __fastcall ToInt() const;
Description
ToInt convertit en valeur entière la chaîne transmise, et renvoie cette valeur entière. Si la chaîne ne contient pas une valeur correcte, une exception EConvertError est déclenchée.
pour ToInt() il faut inclure dstring.h