Search:

Type: Posts; User: blackjs

Search: Search took 0.01 seconds.

  1. Thread: Money classs

    by blackjs
    Replies
    5
    Views
    2,464

    Money class

    When I compile my money class, I get an error message for each overloaded operator saying 'long int Money::total' is private within this context. Am I not representing my money object right?
    ...
  2. Thread: Money classs

    by blackjs
    Replies
    5
    Views
    2,464

    Money classs

    I am suppose to creat a Money class that has the following methos with operators for:
    Addition, Assignment(+=), Substraction, Minus equal, Multiplication, Times equal, division, divide equal,...
  3. Thread: Help!

    by blackjs
    Replies
    2
    Views
    939

    Help!

    I'm trying to count the occurences of the letters of the alphabet in a string. With this code I get 1 for each letter.

    can u help......thank you.

    # include <iostream.h>
    # include "string.h"
    ...
  4. Replies
    5
    Views
    1,034

    that is an implicit declaration of function int...

    that is an implicit declaration of function int tolower
  5. Replies
    5
    Views
    1,034

    that makes each letter equal 2

    that makes each letter equal 2
  6. Thread: Help! Please

    by blackjs
    Replies
    3
    Views
    956

    I still don't get it, i want it so the user can...

    I still don't get it, i want it so the user can enter a line of text.
  7. Replies
    5
    Views
    1,034

    Still not getting it?

    I am trying to count the occurences of each letter of the alphabet for a line of text.

    here is what i have so far.

    your help is greatly appreciated.

    # include <iostream.h>
    # include...
  8. Thread: Help! Please

    by blackjs
    Replies
    3
    Views
    956

    Help! Please

    I'm trying to write a program to count the number of each letter of the alphabet and count the words. I have the word count but don't know how to start my letter counts.
    thanks in advance for your...
  9. Replies
    1
    Views
    2,629

    Count the letters of a string.

    How do you check a line of text using the cin.getline function and count the occurences of each letter of the alphabet.

    thanks for your help
Results 1 to 9 of 9