943,605 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 456
  • C++ RSS
Dec 1st, 2008
0

use of function

Expand Post »
heloo
can anyone plz tell me how use functions like power and setw....
in programmes...
thanku
Similar Threads
M^2
Reputation Points: 10
Solved Threads: 0
Newbie Poster
M^2 is offline Offline
10 posts
since Nov 2008
Dec 1st, 2008
0

Re: use of function

Click to Expand / Collapse  Quote originally posted by M^2 ...
heloo
can anyone plz tell me how use functions like power and setw....
Probably.
What did you try? With what do you have problems?
Last edited by Nick Evan; Dec 1st, 2008 at 5:04 am.
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Nick Evan is offline Offline
4,132 posts
since Oct 2006
Dec 1st, 2008
0

Re: use of function

well its like this i have writen program that asks user to input even and odd integers and then add the even and odd integers seperatley and divide them by pi=3.14 and it should give the answer upto 3 decimal points...
i dont know how to set the width.....
M^2
Reputation Points: 10
Solved Threads: 0
Newbie Poster
M^2 is offline Offline
10 posts
since Nov 2008
Dec 1st, 2008
0

Re: use of function

You will need to include this to set width

#include <iomanip>

Then use setw (#)
Reputation Points: 10
Solved Threads: 0
Light Poster
davids2004 is offline Offline
43 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: numeric value wm_maximize
Next Thread in C++ Forum Timeline: LPTSTR





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC