No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Software Engineer
- Interests
- Playing cricket.............
// Samy1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "math.h" using namespace std; int main() { float c; c = log10(100.0)* 10 ; cout<<c; int a; cin>>a; return 0; } Hi All, I tried above program in VC6, and compiled fine in both debug … |
|
i am little bit confused to access the class function through pointer. Whether Consider the pointer variable Class Ball { Void Do() { } } Void main() { Ball &r = *(new Ball ); } Can i access via r.Do(); r->Do(); Which way is correct and please explain me why … |
|
Re:
Please explain. Does it automatically include the default constructor? |