This is a snippet from a little calc program I'm working with,
a function to get the surface area of a cube
I get this error :Code:long cubeSurf (long length, long width, long height) { long surf; long side1 = length * height; long side2 = length * width; long side3 = height * width; surf = (2 * side1) + (2 * side2) + (2 * side3); // surface area return surf; }
C:\Dev-Cpp\Work\MathW.cpp
[Warning] In function `int main()':
67 C:\Dev-Cpp\Work\MathW.cpp
too few arguments to function `long int
283 C:\Dev-Cpp\Work\MathW.cpp
at this point in file
Can someone explain too few arguments ??
Thanks...............
![]()



LinkBack URL
About LinkBacks




.