Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2013-01-18, 19:03


ujty







Wiek: 27
Na forum: 5258 dni
Posty: 39
Nick w MP: eNesPL

Piwa: 13

Respekt: 50

Ostrzeżeń: 20%
Witam mam errory z kt?rymi nie potrafi? sobie poradzi?:
Kod:


(3022):error 025: function heading differs from prototype
(3023)error 021: symbol already defined: "strrest"
(3029)array sizes do not match, or destination array is too small


linijki z bledami
od 3019
Kod:

#pragma unused strrest
#pragma unused strtok

(3022)strrest(const string[], index)
(3023){
new length = strlen(string),offset = index,result[256];
while ((index < length) && ((index - offset) < (sizeof(result) - 1)) && (string[index] > '\r')){
result[index - offset] = string[index];index++;
}
result[index - offset] = EOS;
(3029) return result;
}

do 3030


*te cyfry w nawiasach to te linijki z errorami

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-01-18, 19:14


Lukasbank







Wiek: 30
Na forum: 5329 dni
Posty: 249
Nick w MP: [USD]LuXoR[X]

Piwa: 404

Respekt: 136,5
Respekt: 136,5

symbol already defined: "strrest" masz juz zdefiniowany strrest poprostu usun to
strrest(const string[], index)
{
new length = strlen(string),offset = index,result[256];
while ((index < length) && ((index - offset) < (sizeof(result) - 1)) && (string[index] > '\r')){
result[index - offset] = string[index];index++;
}
result[index - offset] = EOS;
(3029) return result;
}

Postaw piwo autorowi tego posta
 

 
Tagi: konpilacja :: mapy
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » konpilacja mapy Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku