Hey
I was wondering why this is possible :
and not this:
I was wondering why this is possible :
Code:
class A{
public:
int iAddition2(int arg1, int arg2) {
return iAddition(arg1, arg2);
}
int iAddition(int arg1, int arg2) {
return arg1 + arg2;
}
};
and not this:
Code:
namespace myNS {
int iAddition2(int arg1, int arg2) {
return iAddition(arg1, arg2);
}
int iAddition(int arg1, int arg2) {
return arg1 + arg2;
}
}