Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-05-2005, 11:01 AM   #1
Member (4 bit)
 
Join Date: Dec 2003
Posts: 10
Some Questions about C++

I have few question regarding C++, I can get most of the answers with books also but i want to get practical answers from users.So from practically if i understood the concept then i can be firm with it.
what way C++ is more better than C?
What are the limitations that are overcomed in C++?
What is Object-oriented nature of C++?
How you memorise/visualise the concept of Arrays,Classes,Pointers?
mahesh2k is offline   Reply With Quote
Old 07-05-2005, 11:17 AM   #2
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
C++ extends C in many ways, especially in terms of object-oriented design (there is a language called Objective C that is C with OO structures, though). The main limitation that C++ overcomes is the lack of object-oriented concepts in C. The definition of OO is pretty broad; it's probably good enough to know that in C++ you can use classes to implement OO design.

A pointer is a memory address.
A class is a class...don't know how else to describe it, when you do OO programming it is second nature.
An array is just a set of values.
doctorgonzo is offline   Reply With Quote
Old 07-06-2005, 09:22 AM   #3
Member (8 bit)
 
rcvalencia9's Avatar
 
Join Date: Oct 2004
Location: Manila, Philippines
Posts: 221
Object oriented is the best feature of C++. A class contains methods and data identifiers. In Visual Basic Class is the Controls. The controls have events which are the methods and data identfiers in C++ which are the Properties in Visual Basic. To compare class. A good example of a class in real world is a cat.. Its methods are to meow, purr etc. and data identifiers are his no. of legs, color etc. In a class cat you may have different objects that you can create. Your objects for example are Garfield and "Felix the Cat".
rcvalencia9 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:52 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2