Hmm... I will try that!
But I think I am calling functions with objects, please have a look:
class vector
{
private:
double dir; // Vector direction
Type: Posts; User: nirali35
Hmm... I will try that!
But I think I am calling functions with objects, please have a look:
class vector
{
private:
double dir; // Vector direction
You are right, but I have heard somewhere that there is an exception for '[' and ']' so I am just testing that... otherwise, () is there!!
(By the way I didn't get any syntax error so far so...
Yes, that does make sense!
But in my case (the code above), when PUBLIC functions tries to call PRIVATE functions, I am getting an error. (Both PRIVATE and PUBLIC functions are prat of the same...
Hello!
I am considerably new in C++ and need some of your advises!
Actually I am doing my assignment and getting some troubles in the way.
I am using Microsoft Visual C++ (from Visual Studio...