Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Christos Group Title

C++, Help needed? Can someone please explain to me the difference between a++; and ++a; or a--; and --a; ?

  • one year ago
  • one year ago

  • This Question is Closed
  1. primeralph Group Title
    Best Response
    You've already chosen the best response.
    Medals 4

    okay, a++ means add 1 after performing an operation.......... ++a means add one before performing an operation.........same with --a and a--

    • one year ago
  2. primeralph Group Title
    Best Response
    You've already chosen the best response.
    Medals 4

    ..................this is the part where you say whether or not you understand.............

    • one year ago
  3. Christos Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    ok and one last question since gane is here, Can you please tell me whats the difference between double power(double, int) and int power(double, int) ?

    • one year ago
  4. Christos Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    both are function names

    • one year ago
  5. primeralph Group Title
    Best Response
    You've already chosen the best response.
    Medals 4

    double power(double, int) .....returns a double int power(double, int) .........must return an int (will cause loss of data)

    • one year ago
  6. Christos Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I see, thanks a lot!

    • one year ago
  7. primeralph Group Title
    Best Response
    You've already chosen the best response.
    Medals 4

    you're welcome

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.