thanks for the quick reply
so would you still include your function prototypes before 'int main' even if there were 100 of them? Is there not a module similar to VB that you can add to your workspace/project whereby you can store your functions and/or prototypes?
Im sure I'll get the grasp of...
OK, can anyone please explain to me why the 'VolumeCube' function has to be declared before the 'int(main)' and also why 'int width=25' etc. as when the function is called the 'int width' variable is being passed 50 and not 25?
thanks
Graham
#include <iostream.h>
int AreaCube(int length, int...
Anyone tell me why regardless of value of 'op' the four 'if' statements are processed please?
thanks
Graham
#include <iostream>
int add(int a,int b);
int subtract(int a, int b);
int multiply(int a,int b);
int divide(int a,int b);
int main()
{
using namespace std;
int numa, numb, ans...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.