954,504 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

please help!

Q1-

This program deals with strings and requires the use of pointers (in a fairly simple fashion).
You might consider yourself writing a programmer for a book editor to place a set of index entries into alphabetical order. Some complications arise here in that punctuation in the entries is ignored in fixing the order of the entries, as are several other symbols. Hence you need to not necessarily compare whole string of characters (so strcomp is not going to do the job). Basically you can do as a subprogramme which will compare just the relevant characters of two strings.

Q2-

This program introduces structures and a simple class with associated ideas from the basic knowledge from the pervious steps.

Set up a class date which models a date with fields for the day, the month and the years. Ste up constructors and a destructor, and some member functions to print a date, input a date, and write a suitable function to add N days to a date.


Can you write some code which will say what day of the week a particular date is?

Q3-

This question, a full class with pointers and generators is required. Write a polynomial package which will manipulate polynomials. The class should be able to input a polynomial, print a polynomial, add, subtract and multiply polynomials.

You will be manipulating arrays of doubles which are the coefficients of the polynomial.

scpriya
Newbie Poster
1 post since Jan 2006
Reputation Points: 10
Solved Threads: 0
 

Was there any questions or do you expect someone to do that for you?

This will propably be locked if you don't respond with some actual work.

[Moderator edit: Removed lame abbreviations so people can actually understand this post]

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

Is this c or c++ or c#?

the output 4 question 3 may look like the following. 1 and 2 was easiest.

If u have any questions after u have tried given them here.

:-|

Attachments thwee.zip (168.51KB)
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You