Hey guys. I'm learning c++ in uni and struggling along with it. I have about a week til our first assessment, and... I'm a bit concerned!!!
Okay, so for the assignment, we just have to make a program that can add two numbers together, but, "If you do not pass the correct number of parameters your program should flag an error. If the two parameters are not valid numbers or are too big your program should flag an error."
now... if it was just a case of adding the two numbers, I can manage that, and my error flagging seems to work for excessively high numbers/non-number... but I'm not entirely clear on what it means to not pass the correct number of paramenters. Could someone either explain this or point me in the right direction? Please keep in mind that prior to the start of this semster (two weeks ago) I'd never done programming beyond HTML for a myspace page! :)
It's an introduction course as part of an engineering degree. As I said, I'm learning it in uni. Besides, if we were supposed to have prior knowledge, I can't imagine this would be our first assessment.