Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,179 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,368 people online right now. Registration is fast and FREE... Join Now!




password functionality

 
Reply to this topicStart new topic

password functionality, code for pwd in c

sart
7 Jul, 2008 - 12:00 PM
Post #1

New D.I.C Head
*

Joined: 7 Jul, 2008
Posts: 1

icon_up.gif hi! i m sarit from india.i want to lern about file handling in c & passward protection process in c.
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Password Functionality
7 Jul, 2008 - 12:05 PM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,004



Thanked: 126 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is online!Profile CardPM
+Quote Post

gabehabe
RE: Password Functionality
7 Jul, 2008 - 12:05 PM
Post #3

Donkey DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 5,556



Thanked: 99 times
Dream Kudos: 2650
Expert In: ruling the world.

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.

If you mean outputting *s when inputting passwords, I have written something like that in C++

I might do the same in C smile.gif

Stay tuned icon_up.gif
User is online!Profile CardPM
+Quote Post

captainhampton
RE: Password Functionality
8 Jul, 2008 - 04:53 AM
Post #4

Jawsome++;
Group Icon

Joined: 17 Oct, 2007
Posts: 518



Thanked: 2 times
Dream Kudos: 825
My Contributions
If you're just looking for general information on the subject, perhaps you could check out wikipedia or google for more general information. When you have a bit more of a idea of what in particular and show a bit of effort we will certainly help in any way we can.
User is offlineProfile CardPM
+Quote Post

polymath
RE: Password Functionality
8 Jul, 2008 - 08:52 AM
Post #5

D.I.C Regular
Group Icon

Joined: 4 Apr, 2008
Posts: 415



Thanked: 4 times
Dream Kudos: 500
My Contributions
check out the tutorials and code snippets for that. And, look @ Psycho/Gabe
User is offlineProfile CardPM
+Quote Post

born2c0de
RE: Password Functionality
8 Jul, 2008 - 10:39 PM
Post #6

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 3,914



Thanked: 34 times
Dream Kudos: 2800
Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
You can use getpass() to ask for a password without an echo.
Include conio.h for Windows and unistd.h for *NIX systems.

getpass() is portable, but it is considered a legacy function.
If possible, you are encouraged to write your own function according to your situation.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/4/08 11:02AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month