Raised This Month: $ Target: $400
 0% 

while i++ == containi[i] problem, i need to skip letters ( fixed)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 04-10-2009 , 09:02   Re: while i++ == containi[i] problem
Reply With Quote #1

PHP Code:
new said[6], 0
    read_argv
(1said5)
    
    if(
contain(said"> !") != -1)
    {
        
replace(said5"> """)
    }
    
    while (
said[i] == '!')
    {
        
i++
    } 
does not work, it does not catch when i type "> !hi" and does nothing
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-10-2009 , 09:06   Re: while i++ == containi[i] problem
Reply With Quote #2

Quote:
Originally Posted by .Owyn. View Post
does not work, it does not catch when i type "> !hi" and does nothing
Try to debug it then.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode