![]() |
| | #1 |
| Registered User Join Date: Sep 2009
Posts: 4
| Program is as follows - Create a structure stud(roll no, name, perc). write a menu driven prog to perform funtion on a binary file "student.dat". functions are - a) add a student b)search (by name n by roll no) c) display Please guys i need it urgently. HAALP! |
| codec_supreme is offline | |
| | #2 |
| +++ OK NO CARRIER Join Date: Oct 2001
Posts: 10,262
| Ok, first, you should create a structure named stud with some members, such as roll no, maybe a name, and possibly a perc member. Once you have that done, you should write a menu driven program to perform functions on a file ... maybe call it student.dat. You could have menu choices such as add student, search ... maybe by a couple of ways, such as by name or roll no? Oh, and something to display something also would be good. Glad to be of assistance! Quzah.
__________________ Hundreds of thousands of dipshits can't be wrong. Are you up for the suck? |
| quzah is offline | |
| | #3 |
| Registered User Join Date: Oct 2009 Location: While(1)
Posts: 316
| Try to write it man what are you waitin for that somebody will write for you what kind of person you are |
| RockyMarrone is offline | |
| | #4 |
| Registered User Join Date: Sep 2009
Posts: 4
| Dudes, i need the code. |
| codec_supreme is offline | |
| | #5 |
| +++ OK NO CARRIER Join Date: Oct 2001
Posts: 10,262
| Tough ......... Get your ass to work. Quzah.
__________________ Hundreds of thousands of dipshits can't be wrong. Are you up for the suck? |
| quzah is offline | |
| | #6 |
| Registered User Join Date: Sep 2009
Posts: 4
| Don't try to act smart. I am in dire need of the code. |
| codec_supreme is offline | |
| | #7 |
| +++ OK NO CARRIER Join Date: Oct 2001
Posts: 10,262
| No one cares. We're not here to do your work for you. If you aren't making an effort, get off of the forums. Quzah.
__________________ Hundreds of thousands of dipshits can't be wrong. Are you up for the suck? |
| quzah is offline | |
| | #8 |
| Registered User Join Date: Oct 2009 Location: While(1)
Posts: 316
| What you can do Mr. codec_supreme that pay 100 $ to Mr quzah or any of the forum member then you will get help and on your situation what i can just say simply haaaaaaaaa haaaaaaaaaaaaaaaaa haaaaaaaaaaaaaaaaaaa haaaaaaaaaaaaaa |
| RockyMarrone is offline | |
| | #9 |
| Registered User Join Date: Sep 2009
Posts: 4
| Ok how can i use fstream? |
| codec_supreme is offline | |
| | #10 |
| +++ OK NO CARRIER Join Date: Oct 2001
Posts: 10,262
| fstream is C++. I assume, that since you have an assignment, that you have a book? You should consider reading it. Quzah.
__________________ Hundreds of thousands of dipshits can't be wrong. Are you up for the suck? |
| quzah is offline | |
| | #11 |
| Registered User Join Date: Sep 2006
Posts: 2,517
| You're in the wrong forum, codec-supreme. fstream is part of C++, not C. If you want to write it in C, you may need to set your compiler or IDE options to use the C compiler, instead of the C++ compiler (and help maybe, also). Your filename also needs to have the dot c extension on it, not dot cpp. For C, you'll want fopen() and fread and fwrite. Is your class in C or C++ ? Both languages can do this assignment, easily. |
| Adak is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie homework help | fossage | C Programming | 3 | 04-30-2009 04:27 PM |
| Memory Address | kevinawad | C++ Programming | 18 | 10-19-2008 10:27 AM |
| Dikumud | maxorator | C++ Programming | 1 | 10-01-2005 06:39 AM |
| Binary Search Trees Part III | Prelude | A Brief History of Cprogramming.com | 16 | 10-02-2004 03:00 PM |
| what does this mean to you? | pkananen | C++ Programming | 8 | 02-04-2002 03:58 PM |