I'm using Borland. Ok, as in the title I'm having debugging problems... or compiler problems... anyway, my compiler (borland) won't run the program, can you tell me whats wrong with it?
//Filename: dnd.cpp
//Function: Character Creater
#include <fstream.h>
#include <conio.h>
#include <stdlib.h>
#include <iostream.h>
int bdrop(void)
{
gotoxy(30,1);
cout << "RPG PLAYER CREATER V.1";
gotoxy(1,3);
cout << "************************************************* *******************************";
gotoxy(1,23);
cout << "************************************************* *******************************";
gotoxy(35,25);
cout << "BY DR. DROID";
return 0;
}
int main(void)
{
int lp=1;
while(lp!=0)
{
clrscr();
bdrop();
char y[]="y";
char yes[]="yes";
char ysb[]="YES";
char yb[]="Y";
char n[]="n";
char no[]="no";
char nob[]="NO";
char nb[]="N";
char rce[1000];
char aln[1000];
char nme[1000];
char cls[1000];
char ok[1000];
gotoxy(1,4);
cout << "PLAYER NAME: ";
cin.getline(nme,1000);
gotoxy(1,6);
cout << "PLAYER SPECIES: ";
cin.getline(rce,1000);
gotoxy(1,8);
cout << "ALIGNMENT: ";
cin.getline(aln,1000);
gotoxy(1,10);
cout << "CLASS: ";
cin.getline(cls,1000);
gotoxy(1,12);
cout << "IS THIS OK?";
cin.getline(ok,1000);
}
}