C中的简单密码对话框 [英] Simple password dialog in C

查看:114
本文介绍了C中的简单密码对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!


C编程中的新手需要帮助...


我有一个用C编写的Windows控制台应用程序在命令行上输入密码



我想更改原始代码,用密码询问密码

对话框。


----------------------- |

|输入密码|

| __________________ |

| | | |

| ------------------ |

| ________ |

| |好的|

| -------- |

| ----------------------- |


有人能告诉我如何在C中尽可能简单地做到这一点。

对我来说,用C语言而不是用C ++编写这部分是很重要的。


非常感谢你的帮助......

Hi all !

Newbie in C programming needs help please ...

I have a Windows console application written in C who ask a password
on the command line .
I want to change the original code to ask the password with a password
dialog box .

----------------------- |
| Enter password |
| __________________ |
| | | |
| ------------------ |
| ________ |
| | OK | |
| -------- |
|-----------------------|

Can someone let me know how i can do that as simple as possible in C .
It''s important for me to write this part in C and not in C++ .

Thanks a lot for your help...

推荐答案



" Fred" ; < IZ **** @ yahoo.com>在消息中写道

news:33 ************************** @ posting.google.c om ...

"Fred" <iz****@yahoo.com> wrote in message
news:33**************************@posting.google.c om...
大家好!

C编程中的新手需要帮助...

我有一个用C编写的Windows控制台应用程序,他们要求输入密码
在命令行上。
我想更改原始代码,用密码
对话框询问密码。

-------- --------------- |
|输入密码|
| __________________ |
| | | |
| ------------------ |
| ________ |
| |好的|
| -------- |
| ----------------------- |

有人可以让我我知道如何在C中尽可能简单地做到这一点。
对我来说,用C语言而不是用C ++编写这个部分非常重要。

非常感谢你的帮助。 ..
Hi all !

Newbie in C programming needs help please ...

I have a Windows console application written in C who ask a password
on the command line .
I want to change the original code to ask the password with a password
dialog box .

----------------------- |
| Enter password |
| __________________ |
| | | |
| ------------------ |
| ________ |
| | OK | |
| -------- |
|-----------------------|

Can someone let me know how i can do that as simple as possible in C .
It''s important for me to write this part in C and not in C++ .

Thanks a lot for your help...




您可以使用ansi控制序列来操作输入和表单。

这个新闻组偏离主题的东西。 />

或者,您可以尝试:comp.os.ms-windows.programmer.misc



You can manipulate input and a form with ansi control sequences.
Something which is off-topic for this newsgroup.

Alternatively, you can try: comp.os.ms-windows.programmer.misc


感谢您的回答并抱歉成为关于这个新闻组的偏离主题,

但是可以使用代码样本来操作输入和带有ansi控制序列的

表单吗?


谢谢......

" j" < JA ********** @ bellsouth.net>在消息新闻中写道:< Rm ****************** @ bignews6.bellsouth.net> ...
Thanks for your answer and sorry to be off-topic for this newsgroup,
but is that possible to have code samples to manipulate input and a
form with ansi control sequences ?

Thanks...
"j" <ja**********@bellsouth.net> wrote in message news:<Rm******************@bignews6.bellsouth.net> ...
" Fred" < IZ **** @ yahoo.com>在消息中写道
新闻:33 ************************** @ posting.google.c om ...
"Fred" <iz****@yahoo.com> wrote in message
news:33**************************@posting.google.c om...
大家好!

C编程中的新手需要帮助...

我有一个用C编写的Windows控制台应用程序,他们要求输入密码
在命令行上。
我想更改原始代码,用密码
对话框询问密码。

------------ ----------- |
|输入密码|
| __________________ |
| | | |
| ------------------ |
| ________ |
| |好的|
| -------- |
| ----------------------- |

有人可以让我我知道如何在C中尽可能简单地做到这一点。
对我来说,用C语言而不是用C ++编写这个部分非常重要。

非常感谢你的帮助。 ..
Hi all !

Newbie in C programming needs help please ...

I have a Windows console application written in C who ask a password
on the command line .
I want to change the original code to ask the password with a password
dialog box .

----------------------- |
| Enter password |
| __________________ |
| | | |
| ------------------ |
| ________ |
| | OK | |
| -------- |
|-----------------------|

Can someone let me know how i can do that as simple as possible in C .
It''s important for me to write this part in C and not in C++ .

Thanks a lot for your help...



您可以使用ansi控制序列来操作输入和表单。
这个新闻组的主题是什么。

或者,你可以尝试:comp.os.ms-windows.programmer.misc



You can manipulate input and a form with ansi control sequences.
Something which is off-topic for this newsgroup.

Alternatively, you can try: comp.os.ms-windows.programmer.misc



我不知道我是否必须使用ansi控制序列来在文本模式中执行一个类似于对话框的
图形对象,但我想要做的是一个

图形对话框。

我'已经看到我们可以使用.rc文件,但我不知道如何使用

他们......


" j" < JA ********** @ bellsouth.net>在消息新闻中写道:< Rm ****************** @ bignews6.bellsouth.net> ...
I don''t know if i have to use the ansi control sequences to do a
graphical like dialog in a "textual mode", but what i want to do is a
graphical dialog .
I''ve seen that we can use ".rc" files but i don''t know how to use
them...

"j" <ja**********@bellsouth.net> wrote in message news:<Rm******************@bignews6.bellsouth.net> ...
" Fred" < IZ **** @ yahoo.com>在消息中写道
新闻:33 ************************** @ posting.google.c om ...
"Fred" <iz****@yahoo.com> wrote in message
news:33**************************@posting.google.c om...
大家好!

C编程中的新手需要帮助...

我有一个用C编写的Windows控制台应用程序,他们要求输入密码
在命令行上。
我想更改原始代码,用密码
对话框询问密码。

------------ ----------- |
|输入密码|
| __________________ |
| | | |
| ------------------ |
| ________ |
| |好的|
| -------- |
| ----------------------- |

有人可以让我我知道如何在C中尽可能简单地做到这一点。
对我来说,用C语言而不是用C ++编写这个部分非常重要。

非常感谢你的帮助。 ..
Hi all !

Newbie in C programming needs help please ...

I have a Windows console application written in C who ask a password
on the command line .
I want to change the original code to ask the password with a password
dialog box .

----------------------- |
| Enter password |
| __________________ |
| | | |
| ------------------ |
| ________ |
| | OK | |
| -------- |
|-----------------------|

Can someone let me know how i can do that as simple as possible in C .
It''s important for me to write this part in C and not in C++ .

Thanks a lot for your help...



您可以使用ansi控制序列来操作输入和表单。
这个新闻组的主题是什么。

或者,你可以试试:comp.os.ms-windows.programmer.misc



You can manipulate input and a form with ansi control sequences.
Something which is off-topic for this newsgroup.

Alternatively, you can try: comp.os.ms-windows.programmer.misc



这篇关于C中的简单密码对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆