This Is Amazing(c++ hw help)

This is a discussion on This Is Amazing(c++ hw help) within the C++ Programming forums, part of the General Programming Boards category; This is a amazing site alot of cpu knowledge here. I know I'll seem like a douche(can i say hat ...

  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    9

    This Is Amazing(c++ hw help)

    This is a amazing site alot of cpu knowledge here. I know I'll seem like a douche(can i say hat on here? sorry if i cant) if i come out and say hey do my homework for me and honestly i wish someone would but its ok I just need a better understanding of a assignment. Which is the following

    -------------------------------
    1. A function called small, which will take three integers as parameters, find the smallest number and return it.

    2. Write a main() function, which will take three input from the user, and display "The smallest number among the three numbers is ", and call the "small" function to get the answer and display it.
    --------------------------------
    See I've been out of school for awhile to do personal probs/army/rotc obligations and I've basically forgootten and past knowledge of programming bcuz i was strugglingin it before. Now im taking a more advance class and trying to relearn at the same time. I got alot of catching up to do. Anyways. Any help would be much appreciated. Thanks

  2. #2
    Registered User
    Join Date
    Oct 2008
    Posts
    1,262
    So what "better understanding" of the assignment do you need? It's fairly basic, extremely easy and the assignment is really clear. Saying you want your homework done isn't in your advantage either.

    Really, except for doing your homework I don't think there's anything left to clarify on this assignment. Try to code something, then ask for help. If you don't even know how to start, then read whatever resources you were given to learn the language.

  3. #3
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    Well, start with 1) and post the code you have. Try at least some pseudo-code.

  4. #4
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587
    I'm feeling generous.

    What does:
    Code:
    (int1 < (int2 < int3 ? int2 : int3) ? int1 : (int2 < int3 ? int2 : int3))
    do?

    Hint: I'm using a nested ternary operator. Remember, Google is your friend.

  5. #5
    Registered User
    Join Date
    Sep 2010
    Posts
    15

    Wink well...

    Deposit $20 in my PayPal account and I would do the homework for u lol.

  6. #6
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,299
    Quote Originally Posted by SamyCode View Post
    Deposit $20 in my PayPal account and I would do the homework for u lol.
    That helps nobody but yourself.

    SNTRL: You douche! There's nothing remotely advanced about this homework. If you need help with this then you're clearly relying on others too much. How is it that you don't have the motivation to solve this on your own? Don't they teach mental discipline in the army? I'm sure you've done waaay harder stuff than this in your lifetime.

    Now, drop and give me twenty (lines of code).
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  7. #7
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,656
    This thread. The guy's done nothing particularly wrong and now he's a douche and stuff.

    OP the particulars of your program's solution are found here:


    Just apply yourself for a good hour and then you've saved $20.

  8. #8
    Registered User
    Join Date
    Oct 2008
    Posts
    1,262
    Quote Originally Posted by whiteflags View Post
    Just apply yourself for a good hour and then you've saved $20.
    More than that, as his future homework will be harder and probably more expensive.

  9. #9
    Registered User
    Join Date
    Oct 2006
    Posts
    250
    Quote Originally Posted by whiteflags View Post
    This thread. The guy's done nothing particularly wrong and now he's a douche and stuff.
    You're right. The guy's done nothing at all and therefore he's a lazy bum who deserves nothing but to fail at his class.
    iMalc: Your compiler doesn't accept misspellings and bad syntax, so why should we?
    justin777: I have no idea what you are talking about sorry, I use a laptop and there is no ascii eject or something

  10. #10
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,537
    Stop talking about people you don't know. Don't pass judgement on those you don't know without evidence!
    There is no evidence that this one just wants the homework done and is a cheater.
    Refuse to help complete a homework and that's fine.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Accessing HW registers using bit fields and UINT32
    By samdomville in forum C Programming
    Replies: 4
    Last Post: 12-10-2008, 12:00 PM
  2. Replies: 10
    Last Post: 12-05-2008, 11:47 AM
  3. Replies: 6
    Last Post: 05-28-2008, 02:54 AM
  4. Need to host a web server for hw assignment
    By indigo0086 in forum Tech Board
    Replies: 7
    Last Post: 04-15-2007, 11:57 AM
  5. HW help
    By ccwash in forum C++ Programming
    Replies: 4
    Last Post: 10-20-2005, 06:55 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21