PrestwoodBoards.com
-Collapse +Expand

C++

Search C++ Group:

Advanced
-Collapse +Expand C++ Group Home◄╣
-Collapse +Expand Message Board
-Collapse +Expand Knowledge Base
-Collapse +Expand C++ To/From
To/FromCODEGuides
-Collapse +Expand C++ Study Test
PRESTWOODCERTIFIED
-Collapse +Expand C++ Store
PRESTWOODSTORE
-Collapse +Expand Members Only
   PrestwoodBoardsAll Groups   

New to PrestwoodBoards?

Sign up, it's free and anyone can join.

Join Today for a free account,
or Sign In if you are already a member.

C++ Group

Welcome Guest!

This page is the C++ Group home page (summary page).


C++

C++ group focusing promarily on generic C++ and C++.Net (C++/CLI) as implemented in Microsoft Visual C++. Whenever possible, this group also touches on C++Builder as well as ISO C++98, ISO C++03, C++/CLI (ECMA-372), the upcoming C++0x (probably C++09), an

Introduced as a "high level assembler," C was engineered to be "close to the metal."  It was also designed to be terse, elegant and expressive.  C was rapidly embraced by "real" programmers.

Not satisfied with its procedural-only model, C++ soon emerged to add object orientation to C.  In "computer years," these languages are mature - yet remain popular and viable languages for development. Many of the syntax and style elements of C and C++ made their way into younger languages, like Java, JavaScript and C#.

Want to become a moderator?
We are currently looking for moderators for our C++ message board. We are looking for knowledgable developers in Generic C, Generic C++, C++Builder, and Visual C++. However, if you're an expert in another C++ tool, we'd love to add your skillset to our group. If you're interested, send a private message to Mike Prestwood. Once you are a moderator, you will receive an email whenever someone posts.

Want to become an author?
We are currently looking for authors to post to this group's knowledge base. We are looking for generic C and C++ material as well as material specific to C++Builder and Visual C++. If you're interested, send a private message to Mike Prestwood or get started by submitting content to our C++ KB Topic (or any subtopic).

C++ Content!
Chat!
C++ Board:
Posts =  36
Threads =  15
Unanswered =  1
Topics =  5
Research!
C++ KB:
Articles =  5
News =  2
10 Min Starts =  2
Code =  57
Translate!
To/From Code:
Topics =  82
Code =  660
Study!
eCertified:
Beg Q. =  2
Int Q. =  1
Adv Q. =  0

What's happening now! C++ Group!

(New, updated, and unanswered.)

New: C++ Message Board Posts

Go To: C++ Message Board
 Thread StarterReplies Last Post Topic
Sign In To Check If Stuff Is New
394
Hits
MainMenu item chosen
{Too Long}
0New!
1/8/2010
C++Builder
Sign In To Check If Stuff Is New
1222
Hits
class that should not be inherited.
How to write the class such that it should not be inherited by other class.
1
For C++, to prevent derivation make the constructor a private member of the class. In...
6/25/2008
Standard C++
Sign In To Check If Stuff Is New
1150
Hits
C Chat Server for Borland?
I have been looking for a few weeks now for a chatserver example in C and can't find one that works for BCB 5.5.  I can find C++ servers but none that are ...
1
Did you ever find a chat server? If not, how did you work around that. Are you porting one of the C+...
12/8/2007
C Language
Sign In To Check If Stuff Is New
1216
Hits
C - Sorting a data file - Need Help !!!
I have a small C program that reads in a file and prints out the contents fine. The problem is with sorting that data and getting it to print. What prints out...
1
How is the data in the first file formatted, are they character strings, numbers, what?What are you ...
6/22/2007
C Language
More...

Unanswered: C++ Message Board

 Thread StarterReplies Last Post Topic
Sign In To Check If Stuff Is New
394
Hits
MainMenu item chosen
{Too Long}
0New!
1/8/2010
C++Builder
Sign In To Check If Stuff Is New
953
Hits
How can i download a file from http protochol
I use Borland C++ Builder 6.0 I want to download source code of a page. But page needs some request first. For example one page has an area to enter a value i.e login name and a button for send. I ...
0New!
10/5/2004
C++Builder
Sign In To Check If Stuff Is New
1234
Hits
PLS HELP A NEW MEMBER -- DECLARATION SYNTAX ERROR
DECLARATION SYNTAX ERROR (for bc 31 user) -------------------------------------------------------------------------------- I am novice, and I am working now in a proyect with the vga colour palette...
0New!
8/5/2004
C++Builder
Sign In To Check If Stuff Is New
928
Hits
C++BuilderX and C
Is there any way to make the TogetherSoft package take C instead of C++? If not is there any other package I can get that builds UML diagrams and so forth for C?
0New!
5/25/2004
C++Builder
More...

New: C++ Knowledge Base Posts

Go To: C++ Knowledge Base
    KB Article KB Topic
Sign In To Check If Stuff Is New
546
Hits

Code
1. C++/CLI Empty String Check (String.IsNullOrEmpty)

The .Net framework offers a static method in the string class: String.IsNullOrEmpty.

9/19/2009
C++
Sign In To Check If Stuff Is New  
801
Hits

Code
2. C++/CLI String Cancatenation (+)

C++/CLI String Cancatenation

C++/CLI performs implicit casting of numbers to strings. To...

2/17/2009
C++/CLI Language Basics
Sign In To Check If Stuff Is New
605
Hits

Code
3. C++/CLI Logical Operators

Languages Focus: Logical Operators

Logical operators perform conditional and,

2/17/2009
C++/CLI Language Basics
Sign In To Check If Stuff Is New
709
Hits

Code
4. C++ Pointers

C++ uses both pointers and references. Use the * operator to declare a pointer and use the & operator to declare a reference.

2/14/2009
C++ Language Details
More...

New: To/From Code

Go To: C++ To/From Guides

Code Snippets

  Code Snippet Created
1. Comments 1/1/2009
2. Prevent Derivation 1/1/2009
3. Abstraction 1/1/2009
4. End of Statement 1/1/2009
5. Case Sensitivity 1/1/2009
6. Literals 1/1/2009
7. Variables 1/1/2009
8. Assignment 1/1/2009
9. String Cancatenation 1/1/2009
10. File Extensions 1/1/2009

Topics

  Topic Category Created
1. Array Data Structures 3/20/2010
2. Comments Language Basics 1/1/2009
3. Left of String Commands 1/1/2009
4. Prevent Derivation OOP Details 1/1/2009
5. Abstraction OOP Details 1/1/2009
6. End of Statement Language Basics 1/1/2009
7. Case Sensitivity Language Basics 1/1/2009
8. Literals Language Basics 1/1/2009
9. Variables Language Basics 1/1/2009
10. Assignment Operators 1/1/2009

New: eCertified Study Questions

Go To: eCertified
Question Level Type Based on KB Post KB Topic
In C++, when you create an object instan... 1 MC C++ Constructors (Use Cla... C++ OOP
">C++/CLI supports implicit casting which ... 1 TF C++/CLI String Cancatena... C++/CLI Language Basics
Constants defined as static const are no... 2 TF C++/CLI Constants (const ... C++/CLI Language Basics

Weekly C++ Lesson

[Print Lesson]

Week 35, Posted Monday 8/30/2010

Content changes every Monday @ 1AM!! Check back once per week. Learn! Review! Test Yourself!

FAQ of the Week
Question: How do you comment code in C++?

Answer:

Use two forward slashes to represent a single line comment:

// This is a C++ style single line comment.

You can also use multiple line comments:

/*
This is a mutliple line comment. This
syntax is borrowed from C.
*/
Tip of the Week
Tip:

In C and C++, it is better to only use unary operators for incrementing and decrementing variables because they produce fewer instructions and run faster.

Code Snippet of the Week
C++ Inheritance (: public ParentClass)

General Info: Inheritance

The concept of a class makes it possible to define subclasses that share some or all of the main class characteristics. This is called inheritance. Inheritance also allows you to reuse code more efficiently. In a class tree, inheritance is used to design classes vertically. (You can use Interfaces to design classes horizontally within a class tree.) With inheritance, you are defining an "is-a" relationship (i.e. a chow is-a dog). Analysts using UML call this generalization where you generalize specific classes into general parent classes.

C++ Inheritance

In C++ you use the class keyword to signify a class and a colon followed by the parent class name for inheritance.

In the following example, a terminator T-600 is-an android. 

class Android {
};

class T-600: Public Android {
};
Definition of the Week
C Family Unary Operators:  An operation with only one operand (a single input) such as ++X and --Y.An operation with only one operand (a single input). The following are the C family unary operators:
Link of the Week
C++Builder Roadmap

Official Delphi and C++Builder Roadmap from Codegear.

File of the Week

None This Week

Lastest C++ Flashcard

Our flashcards are part of our library of tidbits.

Tidbits are FAQs, Definitions, Tips, and Code Snippets from our knowledge base.

C++/CLI Empty String Check (String.IsNullOrEmpty)

The .Net framework offers a static method in the string class: String.IsNullOrEmpty.

String^ s;
  
//s = ""; //Uncomment to test 2nd case.
  
if (String::IsNullOrEmpty(s))
{
  MessageBox::Show("empty string");
}
Posted By Mike Prestwood, Post #102043, KB Topic: C++
 
345 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join Prestwood now. It's free!