I need help in arrays
i m editing a basic plugin of game in c++
if (message[0] == '@' || message[0] == '/' || message[0] == '!' || message[0] == '%' || equal (message, ""))
in above code messeage is input from player..
if player types '@hii' or '/me', message will not b displayed , bt if anyone types 'hii @ni' or 'say /me' then message will b displayed..
means if the first character of message is @,/,!,% message will not be displayed
bt i dont want it like that, i dont want to show those symbols anywhere in that message..
so i need to write it like this?
if (message[0] == '@' || message[1] == '@' || ............message[192] == '@')
size of array is 192..
plzz help me! :(
full coding is here..
http://shorttext.com/XqJAhV