I apologize if this is the wrong thread to put this as this is my first post but I need help with my programming class. I keep getting this error message:
1>a.obj : error LNK2019: unresolved external symbol "double __cdecl getArea(void)" (?getArea@@YANXZ) referenced in function _main
//***************************************************
// You must write the getLength, getWidth, getArea, *
// and displayData functions. *
//***************************************************
However, there is no definition for that function. You have provided a definition for a function, getArea that takes two doubles, length and width. I believe this is the function you meant to declare above as well as the function you meant to call in main, i.e.:
1 2
// Get the rectangle's area.
area = getArea(length, width);