c programming assignment, C/C++ Programming

good night i have an assignment that i really need help with. i have to create a struct file with tag name book to have members int book_id
char isbn[255]
char title[45]
char author[65]
char publish[255]
int year_publish
char edition
i have to create a sequential file that look like this
1.add new book
2.update book details
3.delete book
4.view single book
5.view all book
6.exit

if i choose 2 i would be prompt to enter the id of the book i wish to update

if i choose 3 im prompt for book id when the id is entered a message will display asking telling the that this opperation is irreversible then ask the user if they sure they want to delete this book (y/n) if user choose y the program should display "the book has been permanently deleted" if user choose no the program goes back to the option menu
im using dev c++4.9.9.2 the code have to be writen in c
Posted Date: 11/20/2012 10:18:15 PM | Location : Saint Vincent and the Grenadines







Related Discussions:- c programming assignment, Assignment Help, Ask Question on c programming assignment, Get Answer, Expert's Help, c programming assignment Discussions

Write discussion on c programming assignment
Your posts are moderated
Related Questions

Sorted directory - C++ program: Write a program in c to sorting a directory. int main( int argc, char *argv[] ) {     if( argc 3 )         {         cerr

Tell what the derived class inherits or doesn't inherit? A: Inherits: - All data member defined in the parent class (even though such members might not always be accessible

# include stdio.h> # include string.h> # include conio.h> void main() {           int i=0,j=0,b=0,count=0;           int a[100];           for(i=0;i

Readers Writers with Processes and Threads Write two programs implementing ``reader pritority readers-writers synchronization'''' on files. One program will use processes, created

Write a program to calculate the timetable for numbers 1 -> 10 and display them as follows. Your solution should use for do loops      #include stdio.h void main() {    char p

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Can I drop the [] while deleteing array of some built-in type (char, int, etc)? A: No. you can't Sometimes programmers think that the [] in the delete[] p only present so the

THIS PROGRAM IS TO COMPARE THE TWO DATES GIVEN BY THE USER #include #include #include struct date  {   int dd;   int mm;   int yy;  }; date compare(date d1,date d2)  {

Problem #1: plugging the memory leak. When you employ the "normal" new operator, for example Foo* p = new Foo(), the compiler generates some special code to manage the case while t