Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCWebBrowser Getting Source Code Pin
Bralyan20-Jun-05 11:13
Bralyan20-Jun-05 11:13 
GeneralRe: CWebBrowser Getting Source Code Pin
Ravi Bhavnani20-Jun-05 12:46
professionalRavi Bhavnani20-Jun-05 12:46 
GeneralRe: CWebBrowser Getting Source Code Pin
Bralyan20-Jun-05 12:49
Bralyan20-Jun-05 12:49 
GeneralRe: CWebBrowser Getting Source Code Pin
Ravi Bhavnani20-Jun-05 12:51
professionalRavi Bhavnani20-Jun-05 12:51 
Questionhow can I make password to my prog. Pin
suroor45320-Jun-05 10:16
suroor45320-Jun-05 10:16 
AnswerRe: how can I make password to my prog. Pin
David Crow20-Jun-05 10:58
David Crow20-Jun-05 10:58 
GeneralRe: how can I make password to my prog. Pin
suroor45320-Jun-05 11:25
suroor45320-Jun-05 11:25 
AnswerRe: how can I make password to my prog. Pin
Ritu Kwatra20-Jun-05 18:26
Ritu Kwatra20-Jun-05 18:26 
One way to do this is to do in the C style by using getch() function to enter the charater. getch() function do not display character on the screen.

char passwd[15];
int i=-1;
printf("Enter Password:");
do
{
passwd[++i] = getch();
} while(passwd[i] != 13);
passwd[i] = '\0';

printf("\npassword is %s\n",passwd);

13 is the ascii code for the return key. Hope it will work Smile | :)

Ritu Kwatra
GeneralRe: how can I make password to my prog. Pin
ThatsAlok20-Jun-05 18:46
ThatsAlok20-Jun-05 18:46 
AnswerRe: how can I make password to my prog. Pin
namaskaaram20-Jun-05 20:15
namaskaaram20-Jun-05 20:15 
GeneralRe: how can I make password to my prog. Pin
suroor45321-Jun-05 1:48
suroor45321-Jun-05 1:48 
GeneralLaunch Applications directly from Embedded Resources Pin
Member 269513020-Jun-05 10:03
Member 269513020-Jun-05 10:03 
GeneralRe: Launch Applications directly from Embedded Resources Pin
Steve Maier20-Jun-05 10:29
professionalSteve Maier20-Jun-05 10:29 
GeneralOnInitDialog query Pin
Sonix20-Jun-05 9:36
Sonix20-Jun-05 9:36 
GeneralRe: OnInitDialog query Pin
David Crow20-Jun-05 9:42
David Crow20-Jun-05 9:42 
GeneralRe: OnInitDialog query Pin
Sonix20-Jun-05 9:50
Sonix20-Jun-05 9:50 
GeneralRe: OnInitDialog query Pin
David Crow20-Jun-05 9:56
David Crow20-Jun-05 9:56 
GeneralRe: OnInitDialog query Pin
20-Jun-05 10:05
suss20-Jun-05 10:05 
GeneralRe: OnInitDialog query Pin
FlyingTinman20-Jun-05 10:10
FlyingTinman20-Jun-05 10:10 
GeneralRe: OnInitDialog query Pin
Andrew Kirillov20-Jun-05 10:38
Andrew Kirillov20-Jun-05 10:38 
GeneralRe: OnInitDialog query Pin
Trollslayer20-Jun-05 13:14
mentorTrollslayer20-Jun-05 13:14 
Questionsimple keyboard input ? Pin
bitsNbites20-Jun-05 9:04
bitsNbites20-Jun-05 9:04 
AnswerRe: simple keyboard input ? Pin
Alexander M.,20-Jun-05 9:25
Alexander M.,20-Jun-05 9:25 
AnswerRe: simple keyboard input ? Pin
David Crow20-Jun-05 9:45
David Crow20-Jun-05 9:45 
AnswerRe: simple keyboard input ? Pin
Andrew Walker20-Jun-05 14:03
Andrew Walker20-Jun-05 14:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.