Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 17th, 2005, 12:57 PM
Registered User
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Please Help, I can not create a formula

I am learning C++ and i am really stuck on a question. Can someone please help because its driving me crazy, please help.

The question is:

To find value of the sum S for which formula composed. Summation (The act or process of adding) to continue until next composed |a[i]|> E.Ispolzovat a heading file and indexes on function for calculation composed under the formula and indexes on a variable.

What the hell is it about? I need to create a formula to complete the question. Can someone please help

Janet


Reply With Quote
  #2 (permalink)  
Old October 18th, 2005, 01:12 PM
Authorized User
 
Join Date: Oct 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Janet,

I'm having trouble parsing that question -- is that exactly how it was stated?

----
Scott J. Kleper
Author, "Professional C++"
(Wrox, 2005)
Reply With Quote
  #3 (permalink)  
Old November 6th, 2005, 10:36 PM
Authorized User
 
Join Date: Nov 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm confused from reading your question also, but. . . I think you are referring to the mathematical term "Summation" (which uses the Greek letter Sigma). Summation uses recursion which is illustrated in Bruce Eckel's Thinking in C++ tutorial as:
void removeHat(char cat) {
  for(char c = 'A'; c < cat; c++)
    cout << " ";
  if(cat <= 'Z') {
    cout << "cat " << cat << endl;
    removeHat(cat + 1); // Recursive call
  } else
    cout << "VOOM!!!" << endl;
}

Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with formula Juan0214 Access 4 August 1st, 2008 07:25 AM
Help with formula 2 Juan0214 Access 3 July 10th, 2008 06:52 PM
Create formula at runtime for sections... SergeyC. Crystal Reports 0 November 9th, 2005 06:24 AM
Help with a formula Corey Access 2 October 20th, 2005 10:48 AM
Formula Ned Pro VB 6 2 September 10th, 2003 10:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.