The Visual C++ Development Environment
The Visual C++ Development Environment * The Output Pane * The Editor Area * Menu Bars * Rearranging the Developer Studio Environment * Starting Your First Project * Creating the Project WorksCiteste tot ... 9907 cuvinte
Dimensiune mare - fara imagini |
|
|
Saving and Restoring Work--File Access
Saving and Restoring Work--File Access * Serialization * The CArchive and CFile Classes * The Serialize Function * Making Objects Serializable * Listing 13.3. Including the IMPLEMENT_SERIAL macro in the class iCiteste tot ... 8061 cuvinte
Dimensiune mare - fara imagini |
|
|
Getting User Feedback--Adding Dialog Boxes to Your Application
* Using Pre-existing (or System) Dialog Windows * Using Message Boxes * Using Common Dialogs * Creating Your Own Dialog Windows * Creating the Dialog Window * Using the Dialog in Your Application Citeste tot ... 4234 cuvinte
Dimensiune medie - fara imagini |
|
|
C++ Programming – Answers
C++ Programming – Answers 4.1 1. What does object orientation in programming means? Explain the meaning of slides 6 and 7 of Lecture 1. A computer program consists of a group of individual units (objects), which interact with eachCiteste tot ... 964 cuvinte
Dimensiune mica - fara poza |
|
|
Displaying Data from an External File
Displaying Data from an External File Seems like everything recently has to do with dynamically loaded this and dynamically loaded that. Of course, this writer will ride this wave for all its worth. After all, isn't that what Pop Culture PrCiteste tot ... 971 cuvinte
Dimensiune mica + cu imagini |
|
|
F# Coding Guidelines
F# Coding Guidelines Formatting Your Code Using #light Code should be either · “#light” code (without in/;; etc.); or · “neutralCiteste tot ... 1125 cuvinte
Dimensiune mica - fara poza |
|
|
Pointers - Pointer Variables, Call by Reference
Pointers Pointers are without a doubt one of the most important mechanisms in C. They are the means by which we implement call by reference function calls, they are closely related to arrays and strings in C, they are fundamentCiteste tot ... 6151 cuvinte
Dimensiune mare + cu imagini |
|
|
Arrays & Strings - Initialising Arrays
Arrays & Strings An array is a collection of variables of the same type that are referenced by a common name. Specific elements or variables in the array are accessed by means of an index into the array. In C all arraCiteste tot ... 3394 cuvinte
Dimensiune medie + cu poze |
|
|
Standard File I/O
Standard File I/O The C standard library I/O functions allow you to read and write data to both files and devices. There are no predefined file structures in C, all data being treated as a sequence of bytes. These I/O functionsCiteste tot ... 3249 cuvinte
Dimensiune medie + cu poze |
|
|
Functions - Definition & Local Variables
Functions As we have previously stated functions are essentially just groups of statements that are to be executed as a unit in a given order and that can be referenced by a unique name. The only way to execute these statementsCiteste tot ... 2916 cuvinte
Dimensiune medie + cu poze |
|
|
Structures & Unions - Defining Structures
Structures & Unions 1 Structures A structure is a customised user-defined data type in C. It is by definition a collection of variables of any type that are referenced under one name, providing a convenient means of keepiCiteste tot ... 3478 cuvinte
Dimensiune medie + cu poze |
|
|
Variables, Data Types, I/O and Operators
Variables, Data Types, I/O and Operators In order to be useful a program must be able to represent real life quantities or data e.g. a person’s name, age, height, bank balance, etc. This data will be stored in memory locations cCiteste tot ... 5944 cuvinte
Dimensiune mare - fara imagini |
|
|
Statements - Expressions and Statements
Statements 1 Expressions and Statements As mentioned at the outset every C program consists of one or more functions which are just groups of instructions that are to be executed in a given order. These individual instrucCiteste tot ... 3604 cuvinte
Dimensiune medie + cu poze |
|
|
Default Listener Application
Default Listener Application The Trace class provides a Listeners collection that allows us to add a new listener application. When no new listener object is added to the collection, the Trace class uses the default listener application:Citeste tot ... 849 cuvinte
Dimensiune mica + cu imagini |
|
|
The Interlocked Class
The Interlocked Class Interlocked synchronizes access to an integer variable that is being shared by a number of threads. The operation is carried out in an atomic manner. Let's see an example, WroxInterlocked.cs: using System; usiCiteste tot ... 178 cuvinte
Dimensiune mica - fara poza |
|
|
Beware of Deadlocks
Beware of Deadlocks Though essential for thread safety, synchronization, if not used properly, can cause deadlocks. As such, it is very important to understand what deadlocks are and how to avoid them. Deadlocks occur when two or more threaCiteste tot ... 553 cuvinte
Dimensiune mica + cu imagini |
|
|
The Mutex Class
The Mutex Class Like the ManualResetEvent and the AutoResetEvent classes, the Mutex class is also derived from the WaitHandle class. It is very similar to the Monitor class with the exception that it can be used for interprocess synchroCiteste tot ... 220 cuvinte
Dimensiune mica - fara poza |
|
|
The ManualResetEvent Class
The ManualResetEvent Class A ManualResetEvent object can possess only one of the two states; signaled (true) or non-signaled (false). The ManualResetEvent class inherits from the WaitHandle class and the ManualResetEvent constructor takCiteste tot ... 597 cuvinte
Dimensiune mica - fara poza |
|
|
.NET Synchronization Support
.NET Synchronization Support The .NET Framework provides a few classes in the System.Threading, System.EnterpriseServices, and System.Runtime.Compiler namespaces that allow the programmer to develop thread-safe code. The table below briefCiteste tot ... 697 cuvinte
Dimensiune mica - fara poza |
|
|
The DataImport Example
The DataImport Example At this point we are ready to concentrate our attention on a practical example that will be useful to demonstrate what we have seen thus far. The DataImport example, included here, is a typical application that waitsCiteste tot ... 876 cuvinte
Dimensiune mica - fara poza |
|
|
Alte pagini