473,320 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

username & pin

i am writing something about username and pin.

how can i filter the username contains only "a-z", "0-9", "." ONLY?
how can i filter the pin contains only "a-z", "A-Z", "0-9"? and what other symbols should be included?

how to ensure no space?
Mar 23 '08 #1
4 1263
Laharl
849 Expert 512MB
Look up the functions in <ctype.h> or <cctype>, in particular isalpha() and isdigit(). To check for lowercase, you can check if it's between 'a' and 'z'.
Mar 23 '08 #2
whodgson
542 512MB
How do you look up what functions are in a header?
Mar 24 '08 #3
Laharl
849 Expert 512MB
Google or similar? Also, these are fairly self explanatory, I think.
Mar 24 '08 #4
weaknessforcats
9,208 Expert Mod 8TB
How do you look up what functions are in a header?
Visual Studio? Press F1.
Mar 24 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Lobang Trader | last post by:
Hi all, I am trying to create a username and a password class. I would like to know what are the RECOMMENDED minimum and maximum length for both fields? These fields will be something like...
2
by: Ashutosh | last post by:
Our company has an intranet paging website. It gets all the contact and group addresses from SQL Server database. The paging is done through WCTP. It works properly except for only one group where...
1
by: Stropher | last post by:
If one clicks useraccount via start/settings/control panel one finds the (created) users of a given computer under the reiter Username, their domains under the reiter Domain and their groups under...
4
by: kvicky | last post by:
I am trying to set a scheduled task for one of my ASP.net application that I developed on a monthly basis. This application requires a login authentication. I am sending the url of the login page...
0
by: gujarsachin2001 | last post by:
hello friends i m connecting to http or https url programatically through console application using follwoing methods of credentilas but if there is username & password for that url through this...
1
by: gujarsachin2001 | last post by:
hello friends i m connecting to http or https url programatically through console application using follwoing methods of credentilas but if there is username & password for that url through this...
0
by: sanbm79 | last post by:
Hi All, I am facing a problem in posting Web request with username and password credentials. I am working on migrating Java client application to .Net which will send request to Java servlet. ...
2
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, Does VS2005 have anything buildin to retrieve the Directory path for C:\Documents and Settings\UserName\Start Menu\Programs... Like an application has Application.StartupPath Or do...
3
by: patelxxx | last post by:
Guy's, I'm using the following code and before I even enter my username and password I get the following error: 'Username or password did not match', what I'm I doing wrong? my $session =...
8
by: yaaara | last post by:
Hi Guys !! Is there any way we can extract the Windows ID & Username associated with it using VBA? For example, if my Windows ID is "kumar1" and I have a Username "yaaara" associated with it,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.