Home

Submit

Source

Feeds

C and C++ Basic Input/Output

C and C++ Getting Started
Basic Input/Output
C and C++ / Getting Started
Using the standard input and output library, we will be able to interact with the user by printing messages on the screen and getting the user's input from the keyboard.

Site: www.cplusplus.com Report - View Tutorial

Related Tutorials
C and C++ Getting Started
Input / Output Tutorial
C and C++ / Getting Started
Designed for beginners in C++, this tutorial presents several examples showing you how to cout/cin, work with arrays, and display data.

Site: www.cpp-home.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++ General Development
Loops
C and C++ / General Development
Loops are used to repeat a block of code. Being able to have your program repeatedly execute a block of code is one of the most basic but useful tasks in programming -- many programs or websites that produce extremely complex output (such as a message board) are really only executing a single task many times.

Site: www.cprogramming.com Report - View Tutorial

C and C++ Functions and Classes
Using the printf() function
C and C++ / Functions and Classes
A guide to the famous printf() function in C. Shows you how to output data in several ways. The tutorial is not yet complete but will be continued soon.

Site: www.geekpedia.com Report - View Tutorial

C and C++ Getting Started
Dynamic Memory
C and C++ / Getting Started
Until now, in all our programs, we have only had as much memory available as we declared for our variables, having the size of all of them to be determined in the source code, before the execution of the program. But, what if we need a variable amount of memory that can only be determined during runtime? For example, in the case that we need some user input to determine the necessary amount of memory space.

Site: www.cplusplus.com Report - View Tutorial

C and C++ General Development
If Statements
C and C++ / General Development
The ability to control the flow of your program, letting it make decisions on what code to execute, is valuable to the programmer. The if statement allows you to control if a program enters a section of code or not based on whether a given condition is true or false. One of the important functions of the if statement is that it allows the program to select an action based upon the user's input.

Site: www.cprogramming.com Report - View Tutorial

C and C++ Database Integration
Using ADO in C++
C and C++ / Database Integration
How nice it is to do database programming with ADO and C++. But this combination never made the mainstream of programming. Programming with ADO in C++ is just as easy as with Visual Basic, you just have to explicitly release COM objects, handle exceptions and work with those nasty C++ pointers. But all in all, if you can handle the added complexity of C++, then you should be able to create much more robust applications then with junior languages like Visual Basic. The best way to use ADO in C++ is to use the smart pointers created with the #import directive in Visual C++.

Site: www.developerfusion.co.uk Report - View Tutorial

C and C++ Getting Started
Structure of a program
C and C++ / Getting Started
A basic starting tutorial on C and C++.

Site: www.cplusplus.com Report - View Tutorial

C and C++ General Development
Isometric Game Engine Opt
C and C++ / General Development
This article introduces some brand new approach to the basic isometric scrolling and object sorting.

Site: www.cpp-home.com Report - View Tutorial

C and C++ Functions and Classes
Basic C++ functions
C and C++ / Functions and Classes
Tutorial for understanding the C++ functions. It shows you two functions that return the same result but are coded differently.

Site: www.geekpedia.com Report - View Tutorial

C and C++ Functions and Classes
Basic C++ Functions
C and C++ / Functions and Classes
Functions are bits of code that the program jumps to in order to do certain tasks. The main function holds the main code (the code that is executed first) and where the other functions are called from. Variables can be passed into and returned from a function.

Site: www.olate.co.uk Report - View Tutorial

C and C++ Games Development
MiniMax Game Trees
C and C++ / Games Development
The Minimax Game Tree is used for programming computers to play games in which there are two players taking turns to play moves. In the most basic sense, the minimax tree is just a tree of all possible moves.

Site: www.cprogramming.com Report - View Tutorial

C and C++ Functions and Classes
Inline Functions
C and C++ / Functions and Classes
Inline functions are not very important, but it is good to understand them. The basic idea is to save time at a cost in space. Inline functions are a lot like a placeholder. Once you define an inline function, using the 'inline' keyword, whenever you call that function the compiler will replace the function call with the actual code from the function.

Site: www.cprogramming.com Report - View Tutorial

C and C++ Functions and Classes
Polymorphism and Abstraction
C and C++ / Functions and Classes
In an inheritance scenario, a parent class is configured to provide its child with the basic foundation the child needs. Although a child can implement a new behavior not available on the parent object, sometimes a child object will need a customized implementation of a behavior that has already been configured with its parent. That is what happens for example when inheriting a sphere from a circle class. Both have a characteristic called Area but the area is calculated differently on each shape.

Site: www.functionx.com Report - View Tutorial

 
Site Search

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