Home

Submit

Source

Feeds

Home » C and C++ » Miscellaneous ::

C and C++ Miscellaneous
We have already learned how groups of sequential data can be used in C++. But this is somewhat restrictive, since in many occasions what we want to store are not mere sequences of elements all of the same data type, but sets of different elements with different data types.
Related Tutorials
C and C++ General Development
Introducing Structs
C and C++ / General Development
A tutorial for beginners, offerring a look into C++ structures. How structures can be defined, created, accessed and what is their actual use. Includes example code.

Site: www.geekpedia.com Report - View Tutorial

C and C++ General Development
Structures
C and C++ / General Development
Structures are a way of storing many different values in variables of potentially different types under the same name. This makes it a more modular program, which is easier to modify because its design makes things more compact.

Site: www.cprogramming.com Report - View Tutorial

C and C++ Functions and Classes
Control Structures
C and C++ / Functions and Classes
A program is usually not limited to a linear sequence of instructions. During its process it may bifurcate, repeat code or take decisions. For that purpose, C++ provides control structures that serve to specify what has to be done by our program, when and under which circumstances.

Site: www.cplusplus.com Report - View Tutorial

C and C++ General Development
Linked Lists
C and C++ / General Development
Linked lists are a way to store data with structures so that the programmer can automatically create a new place to store data whenever necessary. Specifically, the programmer writes a struct or class definition that contains variables holding information about something, and then has a pointer to a struct of its type. Each of these individual struct or classes in the list is commonly known as a node.

Site: www.cprogramming.com Report - View Tutorial

C and C++ Miscellaneous
Size of Structures
C and C++ / Miscellaneous
In this programming tutorial we will see that 2 structures with the same elements but with different arrange of elements make a different size of structure.

Site: www.geekpedia.com Report - View Tutorial

C and C++ General Development
Arrays
C and C++ / General Development
Arrays are useful critters because they can be used in many ways. For example, a tic-tac-toe board can be held in an array. Arrays are essentially a way to store many values under the same name. You can make an array out of any data-type including structures and classes.

Site: www.cprogramming.com Report - View Tutorial

C and C++ General Development
Binary Trees: Part 1
C and C++ / General Development
The binary tree is a fundamental data structure used in computer science. It is a useful data structure for rapidly storing sorted data and rapidly retrieving stored data.

Site: www.cprogramming.com Report - View Tutorial

C and C++ Getting Started
Understanding C++ data types II
C and C++ / Getting Started
Part II of the small book that teaches you the C++ data types. Even if you have an IQ under 25 you will can understand and use the data types. In this part you will see an important aspect of data types... signed and unsigned.

Site: www.geekpedia.com Report - View Tutorial

C and C++ Functions and Classes
Classes (I)
C and C++ / Functions and Classes
A class is an expanded concept of a data structure: instead of holding only data, it can hold both data and functions. An object is an instantiation of a class. In terms of variables, a class would be the type, and an object would be the variable.

Site: www.cplusplus.com Report - View Tutorial

C and C++ General Development
Data Input/Output
C and C++ / General Development
The values and expressions used in C++ are displayed using the cout extractor. To make the displaying of data more realistic, the cout is configured to handle or format data to any desired result. While the cout (as a class) is defined in the iostream file, some other files provide other extensive techniques for displaying data to the console. The C language also is equipped with other formatting functions used for the same purpose. The ability to create a program made of mixed C and C++ language enhances these formatting possibilities.

Site: www.functionx.com Report - View Tutorial

C and C++ Getting Started
Understanding C++ data types III
C and C++ / Getting Started
This is the third part and the biggest of the small book named 'Understanding C++ data types'. This part covers the 'integer' data type.

Site: www.geekpedia.com Report - View Tutorial

C and C++ Functions and Classes
C++ Function Templates
C and C++ / Functions and Classes
C++ Function templates are those functions which can handle different data types without separate code for each of them. For a similar operation on several kinds of data types, a programmer need not write different versions by overloading a function. It is enough if he writes a C++ template based function. This will take care of all the data types.

Site: www.codebeach.com Report - View Tutorial

C and C++ Getting Started
Understanding C++ data types I
C and C++ / Getting Started
A small book for those beginners in C++ or even in programming who didn't understand C++ data types. This is meant to be a patch to other books, that cover the basics of C++.

Site: www.geekpedia.com Report - View Tutorial

C and C++ Getting Started
C++ Support for Code Writing
C and C++ / Getting Started
We have been introduced to declaring variables using specific data types. After declaring a value and initializing it, you may want the value to change type without redefining it. This is required in some cases where you already have a value, probably produced by one variable, while another variable declared with a different data type. This means that you would need to convert a value from one type into another type. For example, you may have declared a variable using a double data type but you need the value of that variable to be used as an int. Transferring a value from one type to another is referred to as casting.

Site: www.functionx.com Report - View Tutorial

C and C++ Functions and Classes
Classes
C and C++ / Functions and Classes
Classes are collections of data related to a single object type. Classes not only include information regarding the real world object, but also functions to access the data, and classes possess the ability to inherit from other classes.

Site: www.cprogramming.com Report - View Tutorial

 
Site Search

 
Categories
2D Graphics 3D Graphics Office Applications Databases Desktop Programming Web Development
 
Advertisement