用C编写的简单程序
来源:互联网 发布:dnf辅助软件 编辑:程序博客网 时间:2024/06/07 17:46
#include 'stdio.h'
#include 'string.h'
#include 'stdlib.h'
void password(char *pass)
{ char password[20],inletter=NULL;
int i=0;
clrscr();
gotoxy(17,6);
printf('\n\t\tInput your password:');
while((i<20)&&(inletter!='\r'))
{ inletter=getch(); /*无回显输入*/
if(inletter==8)
{ if(i>0)
{password[--i]=NULL;
putchar(8); /*退格键*/
putchar(' '); /*以空格代替*/
putchar(8);
}
else putchar(7); /*没有任何字符的退格,响铃警告*/
}
else if(inletter!='\r')
{ password[i++]=inletter;
0 0
- 用C编写的简单程序
- 用C语言编写简单的接口程序
- 用C语言编写一系列简单的程序
- C编写的简单病毒程序
- C语言编写的简单计算器程序
- 怎样编写一个简单的C语言程序的全过程
- Linux下C语言程序简单的编写和调试
- linux c 简单的ls程序编写 学习笔记
- Ubuntu下编写一个简单的c程序
- 用不同的思路去完成简单的C程序编写
- 简单的用C语言编写的《黑客帝国》装逼程序
- 用C语言编写一个Linux下的简单shell程序
- 用C语言编写简单的病毒
- 用C语言编写简单的病毒
- 用C语言编写简单的病毒
- 用c++builder编写的闹钟程序
- 用vim编写C程序的常用命令
- 用C编写的记事本程序分析
- Redis的哈希类型(Hash)
- web体系和tomcat的配置
- GDB的基本使用
- JAVA_SE基础——65.StringBuffer类 ②
- 如何开启远程桌面
- 用C编写的简单程序
- mac 下从设置启动mysql 失败,“Warning:The /usr/local/mysql/data directory is not owned by
- 【Web前端】——轮播
- 枸杞岛游记
- gcc编译器
- 乱序字符串
- codevs 2975 与2,3,5无关的数
- 设计模式之Builder
- /*LeetCode*/ - 3. (M)Longest Substring Without Repeating Characters