i'm using win98 turbo c++.. btw i juz wana clear the string
Type: Posts; User: magicz69
i'm using win98 turbo c++.. btw i juz wana clear the string
hi guys.. is there a way to clear the previous line instead of clearing the whole screen? wad i meant was i juz wana clear the previous line if the user enter a wrong data in a form. thanks
i dun really get it ... heres where i'm stuck at
struct loan {
char bookid[6], bookname[20], datedue[9],dateloan[9];
}com;
struct cus_info {
int id;
i haf my nested struct ready ... i'm trying to add a new thing into my data base that is books loan.. there fore i haf a main struct which shows the name and info all tat and nested struct in the...
ermm seems to me that clrscr() clears the whole screen... and there are many more inputs below.. i've tried using clreol() which clears the whole line. when it prompt to re-enter as its invalid ... i...
i haf a problem with this. i'm trying to validate the "Name" so that only alpha can be in the name. i know how it works. problem is when i enter a name with number.. it gives invalid name. is there a...
i haf another question.. issit possible to compare(strcmp();) a string and a int ? as i am trying to make a search as to search by ID(int)...heres the code
void search(void)
{
if((cusfile =...
yup i'm using conio.h.. one problem.. it still only checks the password but not the username...
nvm i fixed it changed the == to != and it works... thanks a million :)
i'm using string ... heres the code
void main(void)
{
char user[8];
int password,valid,Try=1;
ok i've made a login function which checks the username and password before allowing user to enter the main menu.. i was able to make it check the password.. but not the username... error given was.....