HOLA CMBC: Bien venido a este mundillo.
1º AnsiString, contiene un monton de funciones, echalas un vistazo.
AnsiString text = "11";
double t = text.ToDouble();
int t = text.ToInt();
2º creo que te refieres
unsigned int i = 1;
int t = -1;
3º En cuanto a los ficheros, existen diversos metodos para grabar. Yo me he quedado algo anticuado en esto, ya que lo que me gusta son las viejas funciones fopen, fwrite, fread.
Ejemplo : (de memoria)
FILE *Fichero;
struct{
int Codigo;
char texto[100];
}DATOS;
fichero = fopen("Datos.Txt","wb",1); ???
fwrite (&datos,sizeof(DATOS),fichero,1);
fclose(fichero);
By.