如何在C中询问有效输入 [英] How to ask a valid input in C
本文介绍了如何在C中询问有效输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友们,
我正在使用C来实现我的RSA代码,但我不能
验证公钥''e''条目。所以我找到了一个在验证中工作正常的代码,如下所示:
Dear friends,
I am using C , to implement my RSA Code , but I cannot
validate the public key ''e'' entry . So I find a code which work fine in validation as shown below:
展开 | 选择 | Wrap | 行号
推荐答案
您已从功能检查中删除了输入参数提示,因此
You have removed the input parameter prompt from your function check so at
展开 | 选择 | Wrap | 行号
嗨亲爱的Banfa,
您的快速回答可以避免我的错误。但我的逻辑仍然不起作用。我需要检查该循环中的素数。请指教
谢谢,
Anes
Hi Dear Banfa,
Your quick answer avoid error from me . But still my logic not work. I need to check prime number in that loop. please advise
Thanks,
Anes
这很奇怪:
This is odd:
展开 | 选择 | Wrap | 行号
这篇关于如何在C中询问有效输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文