![]() |
|
#1
|
|||
|
|||
Please help me to solve C++ problemQuestion Details:
Q. in this code we will add two function which is shown after this code. the code is CPP / C++ / C Code:
WHAT TO DO: Add a integer part of a rollno in the doubly link list addnodes method for example if someone has a rollno bc020000001,he will add integers 0 2 0 0 0 0 0 0 1 in the same order as in this list you will add two more friend functions in doubly link list class as described below; 1. first function will get the first four integers and will show the student batch for example in case of roll no. bc020400001 the batch to be displayed will be, 0204 2. second function will add all the entered roll number integers and will check whether the result is even or odd and will show the result. for example output for this function my be, The sum is Even Last edited by admin : 01-Nov-2007 at 11:15.
Reason: Please insert your C/C++ example codes between [CPP] and [/CPP] tags
|
|||
|
#2
|
|||
|
|||
Re: Please help me to solve C++ problemQuote:
Whew...talk about ugly! ...and not a real question in the entire BUNCH! Here it is cleaned up enough that it compiles...now you just have to make it actually "work." Oh yeah, good luck...you'll need it! (You may want to consider adding copy constructors, assignment operators, etc, to your classes, particularly if you're going to be passing by value...) CPP / C++ / C Code:
:davis: |
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem Description: Graph’s Degree.....can help me to solve this out? | thefinalyy | C++ Forum | 0 | 24-Aug-2007 05:42 |
| Hitting a logic problem I can't solve | Elsydeon | C++ Forum | 3 | 09-Oct-2005 21:29 |
| Graphic problem in Unreal Tournament 2004 | zerox | Computer Software Forum - Games | 10 | 09-Oct-2005 12:31 |
| a significant problem after installing Xp | mohammad | Computer Software Forum - Windows | 10 | 09-Aug-2005 07:03 |
| Please help to solve me a problem with multiline texrbox and checkbox | mithila | MS Visual C++ / MFC Forum | 0 | 08-Sep-2004 22:08 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The