Thread: Hello

  1. #1
    Registered User
    Join Date
    Nov 2010
    Location
    India
    Posts
    3

    Hello

    friends i m a student of computer science n i don't know about operator overloading.would u guys please help me in an easy language to demonstrate it with an easy example?please help me frns rite now i m in deep trouble.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Nov 2010
    Location
    India
    Posts
    3
    Hehe .i hv lots of books dear.i m an electrical engg. Student.its nt my core subject. i m studying it coz its in my syllabus n i m nt strong in c++ basics .if anybody help me with easy example is most welcum .

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Having lots of books will not do you any good if you do not read them. If you bothered to go through my link, you would have found at least one "easy example" of operator overloading by now.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User
    Join Date
    Nov 2010
    Location
    India
    Posts
    3
    Oh thnx.bt the problem is tht i hate computer subjects n dnt wanna open the books.

  6. #6
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Rahuls12
    Oh thnx.bt the problem is tht i hate computer subjects n dnt wanna open the books.
    In that case, I shall answer your question on behalf of this community:
    Quote Originally Posted by Rahuls12
    would u guys please help me in an easy language to demonstrate it with an easy example?
    No. Read the homework guidelines, and of course read your own books and search the Web for tutorials and other helpful material if your books are not enough. Only if you really need further explanation on what your instructors/books/online tutorials say should you post here to ask, and then we will gladly help you. Oh, and then you could always ask your instructors for help too.

    *thread closed*
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed