Complie error need help
#1

When i try to complie i get those errors:

(54090) : error 029: invalid expression, assumed zero
(54090) : error 001: expected token: ")", but found ";"
(54090) : error 036: empty statement
(54090) : fatal error 107: too many error messages on one line


at this string: while ((index < length) && (string[index] <= ' '))
Reply
#2

Try
Код:
while (index < length && string[index] <= ' ')
Reply
#3

Quote:

Try
Code:

while (index < length && string[index] <= ' ')
thanks, now it works, but i got another errors now

(54116) : error 029: invalid expression, assumed zero
(54116) : error 001: expected token: ")", but found ";"
(54116) : error 036: empty statement
(54116) : fatal error 107: too many error messages on one line

at this string: while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
Reply
#4

Quote:
Originally Posted by l1lwayn3
Посмотреть сообщение
thanks, now it works, but i got another errors now

(54116) : error 029: invalid expression, assumed zero
(54116) : error 001: expected token: ")", but found ";"
(54116) : error 036: empty statement
(54116) : fatal error 107: too many error messages on one line

at this string: while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
If that helped try replacing this string with this now:
Код:
while (index < length && string[index] > ' ' && index - offset < sizeof(result) - 1)
Reply
#5

thanks man, you"re the best

problem solved
Reply
#6

Quote:
Originally Posted by l1lwayn3
Посмотреть сообщение
thanks man, you"re the best

problem solved
No problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)