Vampiro delmundonadaquiero
Clan:
Descripción del personaje
#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
#include<stdio.h>
#include <string.h>
#include<dos.h>
pruevo();
void password();
void main()
{
clrscr();
password();
}
pruevo()
{
clrscr();
textbackground(BLUE);
textcolor(WHITE);
gotoxy(5,2);
cprintf("HASTA LUEGOn");
delay(1500);
exit(0);
}
void password()
{
int con=0,l=0,c=0;
int valor1=0;
char guardado[10]="aaa"; //nombre d usuario q yo ingrese
char ingresado[10];
char passg[10]="aaa"; //password q yo ingrese
char passi[10]={NULL};
int x=23;
textbackground(BLUE);
while(c<3){
clrscr();
// _setcursortype(_NORMALCURSOR); //saca el cursor q titila
textbackground(BLUE);
gotoxy(23,8);
textcolor(WHITE);
cprintf("Ingrese nombre de usuario: ");
gotoxy(23,10);
gets(ingresado);
valor1= strcmp(ingresado,guardado);
if(valor1==0){
gotoxy(23,12);
cprintf("Ingrese su contrase¤a:n");
do{
con=getch();
if(con==13)
break;
if(con!=27){ //if captura es distinto del enter//
if(con==8){
//si presiona la tecla backspace//
if(l!=0){
l--;
cout<<"b b";
passi[l]='
#include<conio.h>
#include<stdlib.h>
#include<stdio.h>
#include <string.h>
#include<dos.h>
pruevo();
void password();
void main()
{
clrscr();
password();
}
pruevo()
{
clrscr();
textbackground(BLUE);
textcolor(WHITE);
gotoxy(5,2);
cprintf("HASTA LUEGOn");
delay(1500);
exit(0);
}
void password()
{
int con=0,l=0,c=0;
int valor1=0;
char guardado[10]="aaa"; //nombre d usuario q yo ingrese
char ingresado[10];
char passg[10]="aaa"; //password q yo ingrese
char passi[10]={NULL};
int x=23;
textbackground(BLUE);
while(c<3){
clrscr();
// _setcursortype(_NORMALCURSOR); //saca el cursor q titila
textbackground(BLUE);
gotoxy(23,8);
textcolor(WHITE);
cprintf("Ingrese nombre de usuario: ");
gotoxy(23,10);
gets(ingresado);
valor1= strcmp(ingresado,guardado);
if(valor1==0){
gotoxy(23,12);
cprintf("Ingrese su contrase¤a:n");
do{
con=getch();
if(con==13)
break;
if(con!=27){ //if captura es distinto del enter//
if(con==8){
//si presiona la tecla backspace//
if(l!=0){
l--;
cout<<"b b";
passi[l]='