hi,
can anyone please provide me with a cpp code solution for the attached question.
its based on arrays and pointers and i have no idea how to go about doing it.
can someone please help me please.
i have till wednesday(26/08) to finish it.

please help me please.
i'm lost.
Can someone please help me please.

please help me
i'm struggling.

Member Avatar for jencas

hi,
can anyone please provide me with a cpp code solution for the attached question.
its based on arrays and pointers and i have no idea how to go about doing it.
can someone please help me please.
i have till wednesday(26/08) to finish it.
please help me please.
i'm lost.
Can someone please help me please.

please help me

Show what you've done so far.

i'm struggling.

I don't think so.

4. String formatting using <iomanip.h> header file

OMG :icon_eek: You mean to tell us that you school is teaching you the wrong stuff!

iomanip.h has been deprecated (obsolete) for almove 10 years now. The current file name is <iomanip> (no .h extension). I wonder what else they have been trying to teach you that is either just wrong or long obsolete???

Don't sit there expecting anyone to do your homework for you because that will teach you nothing. Code each of those 6 requirements one at a time and you will have the assignment done before you know it.

I wonder what else they have been trying to teach you that is either just wrong or long obsolete???

My money is on at least 4 of the following 6 horrible things:
- void main()
- turbo C
- system()
- scanf()
- <iostream.h>
- getch()

And because my crystal ball is working so well today, I'll also say that the OP is either from India or the Philippines :)

commented: Ah, the usual suspects! :) +36
commented: Please gimme your crystal ball :P +19

From OP pdf file :

//Use the following code to check for file error
if (input.fail()){
   cerr<<"File not found!"<<endl;
   system("PAUSE");
return 0

> i have till wednesday(26/08) to finish it.
Shouldn't that have read "YOU have until Tuesday 25/08 to finish it" ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.