hi all, :)
Can anyone tell me the difference between using directive and using declaration? (with syntax as an example) :)
thanks!!!
Printable View
hi all, :)
Can anyone tell me the difference between using directive and using declaration? (with syntax as an example) :)
thanks!!!
A using directive:
A using declaration:Code:using namespace std;
Code:using std::cout;
thanks laserlight :)
but every time, it confuses me, what are those #define statements are?? i mean in what sense does it called and used for?
I call those preprocessor directives, as does gcc
ok, :)
i want to ask another question and is: a class is basically, a data type that user defines then when a a variable is declared with some data type. So, what would be the difference? how to define a class?
thanks :)
Sorry, I don't understand your question.Quote:
Originally Posted by Aashi
You gave such an example yourself in this thread: access private data members.Quote:
Originally Posted by Aashi