Thread: Need help regarding assignment

  1. #16
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    27,231
    By the way, according to your instructions, addVector was only supposed to have two parameters. You really don't need the third parameter since you can obtain the dimension from the first two parameters, and in fact you must do that in order to "make sure that the dimensions are correct".
    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

  2. #17
    Registered User
    Join Date
    Oct 2018
    Posts
    7
    Thanks for the help

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with an assignment
    By Jordan Velez in forum C++ Programming
    Replies: 3
    Last Post: 04-08-2015, 12:48 PM
  2. Need Help On an Assignment
    By Erik Ingvoldsen in forum C++ Programming
    Replies: 191
    Last Post: 04-07-2015, 11:03 AM
  3. my assignment
    By dalma in forum C Programming
    Replies: 3
    Last Post: 03-15-2011, 04:47 PM
  4. Help - Assignment
    By hasalams in forum C Programming
    Replies: 8
    Last Post: 06-07-2009, 02:17 AM
  5. Replies: 3
    Last Post: 04-26-2009, 08:54 AM

Tags for this Thread