Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Is this an illegal stuff?
puts("Describe yourself") ;
if (describe > 500 ) ; /*are allowed to do this?*/
puts("Your text is too long!") ;
puts("Type in less text") ;
What part is wrong and what part should I take out?
I have a bad feeling about the if statements in there,because describe is the name of the char array and the 200 its its value! no, again, the 'describe' part of the if statement is (whatever the user text is) and its comparing them true or false, this is the only way I have found to warn my visitor from flooding my program, need ideas? correct it. Thank you so much.
0 · ·