By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,498 Members | 1,713 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,498 IT Pros & Developers. It's quick & easy.

C++ Fundu queries ??

P: n/a
Hi Masters,,

I have got much help from this group. Want to know answers of some of
the basic questions.

1. What is rather what are the differences between 'class' and 'struct'
?

2. What is the difference between 'new' and 'malloc' ?

3. What is operator overriding and operator overloading, and what are
the advantages of each of them ?

4. What is the concept of pure virtual function and its advantage ?

Seems i have asked lot in few words!!!!!

Thanks,
With Best Regards,
Bhagat Nirav K.

Nov 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
nilavya wrote:
Hi Masters,,
Hello my young padawan. First lesson today: RTFM.

http://www.parashift.com/c++-faq-lite/
I have got much help from this group. Want to know answers of some of
the basic questions.

1. What is rather what are the differences between 'class' and 'struct'
?
http://www.parashift.com/c++-faq-lit...s.html#faq-7.8
2. What is the difference between 'new' and 'malloc' ?
http://www.parashift.com/c++-faq-lit....html#faq-16.4
3. What is operator overriding and operator overloading, and what are
the advantages of each of them ?
http://www.parashift.com/c++-faq-lit....html#faq-13.1
4. What is the concept of pure virtual function and its advantage ?


http://www.parashift.com/c++-faq-lit....html#faq-22.4
Jonathan

Nov 22 '05 #2

P: n/a

nilavya wrote:
Hi Masters,,
<snip some very basic queries> Seems i have asked lot in few words!!!!!

Thanks,
With Best Regards,
Bhagat Nirav K.


int main()
{
cout<<"Please open a C++ book to find the answers and let us know if
you have any doubts";
return 0;
}

Nov 22 '05 #3

P: n/a
Jaspreet wrote:
nilavya wrote:
Hi Masters,,
<snip some very basic queries>
Seems i have asked lot in few words!!!!!

Thanks,
With Best Regards,
Bhagat Nirav K.


#include <iostream>

using std::cout;
int main()
{
cout<<"Please open a C++ book to find the answers and let us know if
you have any doubts";
cout << std::endl;
return 0;
}


Ben
Nov 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.