Siemka. Piszę wyścigi i mam błąd w podanym kodzie. Chce skleić int z tekstami a wyskakuje mi ten tekst.
int i=151;
Label2->Caption="Ładowanie... "+i+"%";
Błąd:
[bcc32 Error] Unit3.cpp(22): E2087 Illegal use of pointer
Full parser context
Unit3.cpp(20): parsing: void _fastcall TForm3::FormActivate(TObject *)
[bcc32 Warning] Unit3.cpp(26): W8004 'i' is assigned a value that is never used
Full parser context
Unit3.cpp(20): parsing: void _fastcall TForm3::FormActivate(TObject *)