why is this code doesnt work???
#4

Well for a start you use '==' when checking if one variable equals another.

Quote:

port =<0 | >100000

I'm pretty sure the syntax on this is completely borked.
To set a variable's value use 'port = 7777;' (For example)

And third, When comparing strings its best to use strcmp()
Reply


Messages In This Thread
why is this code doesnt work??? - by nuriel8833 - 05.08.2009, 07:52
Re: why is this code doesnt work??? - by nuriel8833 - 05.08.2009, 14:21
Re: why is this code doesnt work??? - by nuriel8833 - 06.08.2009, 06:43
Re: why is this code doesnt work??? - by Ez - 06.08.2009, 06:59
Re: why is this code doesnt work??? - by nuriel8833 - 06.08.2009, 12:06

Forum Jump:


Users browsing this thread: 1 Guest(s)