No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
// 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 …
If there is no user defined constructor in C++ classes then the compiler will automatically invoke the default constructor by itself. It will applicable only if you dont have any constructor as well you need to try to create an object.
The End.
packrisamy