Qt validating user input extroverts and introverts dating website
This together with the EPoll event loop can really scale your web application, initially I thought that the option to replace the default glib (on Unix) event loop of Qt had no gain, but after increasing the connection number it handle them a lot better.
As it is, the code so far doesn't even come close to properly validating an email address.If this is for business, you will have to consider what exactly you are trying to accomplish.Is it just to make sure that the user inputs something other than rubbish?Alternately, you can just loop through the string and check that specific things occur before others.What your example says is that an email address is something like: Notice that the string is: • starts with isalpha(c)==true • zero or more of any character except '.' and '@' • a '@' • one or more of any character except '.' and '@' • a '.' • one or more of any character except '.' and '@'  I almost forgot: Hope this helps.
I have to write a program to validate an email address. I wanted to work through everything individually, and I sort of understand what you were doing.not really.