What am I doing wrong?
#7

Despite your problem being fixed, I think it's worth pointing out that using integers (normal whole numbers), 0 and 1 is more widely used in userfiles, 0 usually means no and 1 usually means yes, having to deal with strings is more problematic, which is why I'd advise that you consider using integers, not only will you avoid the whole strcmp deal, but you'll just be able to have a simple if [operator] statement.
Reply


Messages In This Thread
What am I doing wrong? - by Scarred - 17.12.2011, 22:54
Re: What am I doing wrong? - by Scenario - 17.12.2011, 23:31
Re: What am I doing wrong? - by Scarred - 18.12.2011, 00:08
Re: What am I doing wrong? - by Scenario - 18.12.2011, 00:19
Re: What am I doing wrong? - by admantis - 18.12.2011, 00:31
Re: What am I doing wrong? - by Scarred - 18.12.2011, 01:26
Re: What am I doing wrong? - by Calgon - 18.12.2011, 02:38

Forum Jump:


Users browsing this thread: 1 Guest(s)