plz make USER class as m getting alot of difficulties in it...i will user ur code as a reference code and will write my own code after undertanding it

No, you write it, Daniweb isn't a homework completion service :P
Your question was a bit vague, don't ask questions like: 'could you write it for me?' the answer will always be: NO!
Just ask specific questions about what you don't understand and we'll be glad to help you out :)

>>.i will user ur code as a reference code and will write my own code after
>>undertanding it
You know, first I thought I should believe your on this. But then my 6th sense told me not to. I am sorry.

Comments
LOL, He'll use it as a "reference", where he copies all the code from I believe :P

bro for ur info i cnt use ur code in my project coz my ma'am will take demonstrati0n of project and if i use ur code without understanding i will be clueless.i will make my own code

please can u giv me the algorithm for the library management:icon_question:

Comments
Did you read the posts in the thread??

please can u giv me the algorithm for the library management:icon_question:

Try reading the rest of the replies in this thread and then figure out why you're not going to get it.

Comments
I dunno, he's getting a nice collection of orange cookies ;)

> please can u giv me the algorithm for the library management

int numBooksRead  = 0;
for ( i = 0 ; i < numShelves ; i++ ) {
  while ( numBooksRead == 0 );   // you are here (permanently)
}
Comments
Nice one :P

Try reading the rest of the replies in this thread and then figure out why you're not going to get it.

Lol... some ppl never learn

Hi I M Rameshwar Prasad Sahu From Bilaspur, Chhattisgarh, I M working as computer faculty and Here the solution of your question Libraby Management System. If You have any problem with this coding Email me your problem at: <<EMAIL SNIPPED>>

#include<iostream.h>
#include<conio.h>
main()
{
int a,mh,b,c,idd,imm,iyy,rdd,rmm,ryy,ch,hh;
b=0;
char d[20],e[20],f[20],da[20],db[20];
clrscr();
do
{
cout<<"\n****************=*= LIBRARY MANAGEMENT SYSTEM =*=****************\n\n";
cout<<"\n1. PURCHSES BOOK ENTRY";
cout<<"\n2. BOOK ISSUE";
cout<<"\n3. DEPOSITE BY STUDENT";
cout<<"\n4. DISPLAY";
cout<<"\n5. EXIT\n\n";
cin>>a;
switch(a)
{
case 1:
cout<<" \nName of book:\t";
cin>>d;
cout<<"\nQuantity:\t";
cin>>b;
break;
case 2:
cout<<"\nName of book:\t";
cin>>e;
cout<<"\nQuantity:\t";
cin>>c;
cout<<"\nName of students:\t";
cin>>f;
cout<<"book: "<<e<<"\t quantity: "<<c<<"\t issued to: "<<f;
break;
case 3:
cout<<"\nName of Student:\t";
cin>>da;
cout<<"\nName of Book:\t";
cin>>db;
cout<<"\nDate of issue:\n\n";
cin>>idd>>imm>>iyy;
cout<<"\nDate of Return:\n\n";
cin>>rdd>>rmm>>ryy;
mh=(rmm-imm)*30;
ch=mh+rdd-idd;
if(ch>7)
{
hh=ch-7;
cout<<"\nCharge: "<<hh;
cout<<"\n\n";
}
else
{
cout<<"\nCharge:- Nil\n\n";
}
case 4:
cout<<"\nName of Book:\t"<<d<<"\nQuantity:\t"<<b<<"\n\n";
}

}

while(a!=5);
getch();
}

Edited 6 Years Ago by __avd: Email Snipped. Added [code] tags. Encase your code in: [code] tags.

Comments
reconfirms my suspicions about Indian universities
Unstandard rubbish.
computer faculty (:
No code tags, complete solution on a plate, and an email address - how exactly does this teach anyone anything?

Wow! I don't know what to say to that. Are you sure you are a faculty? I'm sure your students are in the 'waiting queue of unemployment' for ever.

I won't so much as tell anyone that I even glanced a code like that.

Edited 6 Years Ago by ChaseVoid: n/a

> please can u giv me the algorithm for the library management

int numBooksRead  = 0;
for ( i = 0 ; i < numShelves ; i++ ) 
{
  while ( numBooksRead == 0 );   // you are here (permanently)

// what you want....
// you give while loop, but no increment or decrement statement //present.

}

please send this email...


<EMAIL SNIPPED>

Edited 6 Years Ago by peter_budo: Keep It On The Site - Do not post asking for an answer to be sent to you via email or PM.

Comments
homework kiddo
Nope

wow, first time I think I've ever downvoted a thread 3 times

Comments
Oh this one will resurface, no worries about that. Garbage posts beget garbage posts.

>>Hi I M Rameshwar Prasad Sahu From Bilaspur, Chhattisgarh, I M working as computer faculty and Here the solution of your question Libraby Management System. If You have any problem with this coding Email me your problem at: <<EMAIL SNIPPED>>

My god how is this possible. I mean come on. If you are going to just give him the code you might as well just give him a job since you will be doing his work anyway. PLEASE refrain from just handing out answers.

Comments
Yup
This article has been dead for over six months. Start a new discussion instead.