The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

C++ help by cjolson1402005-05-17 08:59:26
  Okay, a few questions back at you. by williamashbless 2005-05-17 09:25:46
Were any of these books in actual tutorial style?...I merely ask because I've known a few people who've tried to learn from reference books which are denser and intended for people who need a refresher rather than to learn something for the first time.

There are plenty of C++ tutorial websites that can explain the syntax of a class. But 'object oriented' programming isn't about syntax, it's about design. It can be done in any language at all, and the only real difference is what you have to do to structure your program in that fashion. Some languages are designed better for working in that particular design philosophy. So I'm still wondering what about the syntax (the language keywords and grammar itself) confuses you?

Perhaps you had better ask some questions _here_ about what you're confused about so that we can better direct or instruct you.

For example, the basic layout for a C++ class is:

class ClassName
{
public:
protected:
private:
};

which defines a custom data type of your choosing with one or more sections of a 'public', 'private', or 'protected' nature, which controls how much access the 'outside world' has to data and function (method) members. (rather than the internal components of the class, which always have access).

Are you confused about how to design a single class? About inheritance and class hierarchies? About polymorphism? About access rights? Or is it purely about the syntax required to make these things happen?

(It's trivial enough to do a google search for "C++ tutorial" if that's all you want to know).
[ Reply ]
    Syntax is one of the ugly things by A_flj_2006-11-19 12:55:59

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)