Using C + + Builder to establish database VCL experience

With the wide application of database, database programming has become a rapid development in program design. C + + Builder is unparalleled in database development, and you can even generate beautiful database programs without writing a single line

Careful use of exception specifications in C + +

There is no doubt that anomaly specifications are a compelling feature. It makes the code easier to understand because it clearly describes what kind of exception a function can throw. But it's not just an interesting note. The compiler can

C + + enlightenment input/output

C + + does not directly define any statements that perform input or output (IO). Instead, Io is provided by the standard class library (standard library). The IO Class Library provides a broad set of tools. However, for some purposes (including the

WIN32 two thread synchronization classes for C + + (bottom)

In the previous article I introduced a way to use mutexes conveniently by enclosing the critical section object, all of which are two threads read and write to the same data, so they need to be mutually exclusive and not accessible at the same time.

C + + Proverbs: Never redefine an inherited non-virtual function

Let's say I tell you class (class) D is from Class (class) B publicly derived (public inheritance), and in Class (class) B, you have defined a public member function (publicly owned) MF. The parameters and return value types of MF are irrelevant, so

C + + Proverbs: Define non-member functions when type conversion

C + + Proverbs: The timing of declaring non-member functions explains why only non-member functions (non-member functions) are suitable for implicit type conversions (implicit type conversions) that apply to all arguments (arguments). It also uses

C # When call remove is invalidated

Have you ever tried to remove an object from a collection and the collection still has this object? The world is big and wonders. A slight negligence will lead to this strange phenomenon. Now let's see what this "Undead" object is all about. 1,

C # Web-side start drawing Client for Visio two development and log on

There is a need for a system that contains web-side background and WinForm drawing client programs, where users need to be able to start the drawing client on the Web side, and do not need to log on again (because they are already logged on to the

New features provided in C # that are not supported by VB

In Beta 2,. The two flagship languages in net--c# and Visual Basic have their own set of capabilities. Previously we have introduced features that only appear in VB, such as variable anonymous types and XML constants. Today, however, this article

C # Defines the mouse pointer shape

In Windows applications, you can define the display shape of the mouse by setting the control's Cursor property. The cursor property of a control, such as a button control, is used to set the type of the mouse pointer, which defaults to default.

Getting Started with C + + object-oriented programming: constructors and destructors

Please note that this section is the focus of C + +, pay special attention to! Let's talk first about what a constructor is. The previous tutorial we talked about some of the basics of classes, for initialization of class object members we always

C # Capture Console (console) Shutdown event

Sometimes the console (console) application that is developed internally by the company runs on the server and automatically shuts down because it encounters certain exceptions, which requires a mechanism to capture the console shutdown event and

No nonsense C # design Pattern II: Singleton

Intention Guarantees that a class has only one instance and provides access to its global access point. Scene We now want to do a Web game server-side program, we need to consider how to host a large number of users. When doing web programs have

Shortcut keys for C + + Builder

F1 Help ALT+F2 terminating a program (especially when debugging is useful) F3 Find Next result (used with ctrl+f) F5 Set/Cancel Breakpoint CTRL+F5 Set watch variable F7 Tracking (Entry subroutine) F8 Single Step (do not enter subroutine) F9

C + + function call and function return value

function arguments and function calls 1, function call the role: • Transfer data to formal parameters using real parameters; • Allocating storage space for data parameters and variables declared in the function body; • Interrupt the current

Interesting programming: the implementation of specification mode in C #

Today, a friend asked me such a question: how to achieve the function of Orwhere? I guess he meant to achieve such a function: static IEnumerable MorePredicate(IEnumerable source) {   return source.OrWhere(i => i > 0); // 或所有的正数 } static void Main(

Visual C + + MFC Concise Tutorial (4)

Part IV: Message mapping Any user interface object that an application puts in a window has two controllable features: 1 its appearance, and 2 it responds to the behavior of the event. In the last lecture, you've learned about CStatic control and

C # Performance Optimization practices

Performance mainly refers to two aspects: memory consumption and execution speed. Performance optimization in short, is to make it run faster without affecting the correctness of the system's operation, and it takes less time to complete a

Google C + + programming style guide (i)

Background Most of Google's open source projects are developed using C + +. As every C + + programmer knows, C + + has a lot of powerful language features, but it's a powerful and unavoidable complication that makes code more prone to bugs, harder

Design pattern Observer (Observer) pattern and its C + + general implementation (middle)

Through the introduction of the previous article we know the basic characteristics of the observer model, the use of the situation and how to implement in C + + language. You may find that there have been many times in the experience of writing

Total Pages: 5902 1 .... 1713 1714 1715 1716 1717 .... 5902 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.