I'm working on a school project and it's driving me nuts. The program requires taht a user enteres their email address, name, age etc..... the part I'm having a problem with is that we have to verify the user entered @ in the email entry. if they don't enter the @ and hit submit it must display a message that a valid email is required. The only thing I can't get to work, or figure out how to work is being able to verify the user put the @ in their entry.
Can anybody help me out?
I tried to search for help, but I get things like "email addres is required when registering for this site"....I'm not really sure what to even search for to get a good stepping stone.
well here is part of my issue. I'm using C++ for a cgi program. so I have my data coming in from an HTML page. so when the data comes in, its not coming in as a string and I'm having problems converting it over to a string. I think both of your suggestions would work, but Now I gotta figure out how to convert the char to a string, then I could search it properly?
SteakRider
thank you very much, I'm at work but that looks like it will do exactly what I need it to do, thank you for that post. I will try it tonight when I get home and post my results but it looks like it should do the trick