Search:

Type: Posts; User: Strahan

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,353

    Hiya, Thanks for the prompt reply. The only...

    Hiya,
    Thanks for the prompt reply.

    The only hting I'm still lost on is that my program uses the [] operator to find the nth smallest element within the array, and therein lies my problem, when I...
  2. Replies
    3
    Views
    1,353

    Overloading the [] operator

    Hello all,

    Ok, I'm fairly good at C, (and was starting to think I getting decent at C++) but when it comes to overloading I seem to have missed the bus.

    I'm trying to overload the [] operator...
  3. Replies
    4
    Views
    1,857

    I don't know how, but I figured it out. Its...

    I don't know how, but I figured it out. Its working now.
    Thanks anyway.
  4. Replies
    4
    Views
    1,857

    Overriding = operator.

    I am working on a project using templates. I have a template class called Measures and another regular class called Meters.
    I overrode the + operator in Measures and now want to use that
    function...
  5. Replies
    4
    Views
    1,538

    Thanks. That did the trick. :)

    Thanks. That did the trick.

    :)
  6. Replies
    4
    Views
    1,538

    Overloading Operators

    I'm working on a project and I need to overload some of the
    basic operators (*, /, +, -, etc...) to work with Measure, my user-
    defined class. I've managed to overload * so that Measure * ...
  7. Replies
    4
    Views
    2,413

    I didn't look too close at your code, but one...

    I didn't look too close at your code, but one thing I noticed is that you're trying to read from the keyboard with fgets. fgets is for reading data from files. You should use gets or scanf to get...
Results 1 to 7 of 7