Home

Submit

Source

Feeds

Home » C and C++ » Functions and Classes ::

C and C++ Functions and Classes
A function is an assignment or a task that must be performed to complement the other part of a program. There are two kinds of functions: those supplied to you and those you will be writing. The functions that are supplied to you are usually in three categories: those built-in the operating system, those written in C++ and those supplied with your programming environment. The use of these functions is the same regardless of the means you get them; you should know what a function looks like, how to create one, what functions are already available, where they are located, and what a particular function does, how and when to use it.
Related Tutorials
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
Strings
C and C++ / Functions and Classes
Learn the following: Declaring and Initializing an Array of Characters, Streaming an Array of Characters, Multidimensional Arrays of Characters, Declaring a Pointer to Characters, Declaring and Initializing an Array of Characters, Requesting an Array of Characters, Arrays of Characters and Pointers, Dynamic Arrays of Characters, Passing an Array of Characters, Returning an array of Characters, Multidimensional Arrays of Characters, Double-Dimensional Arrays Declaration, Two-Dimensional Arrays of Characters and Functions, Introduction to Strings, Defining a String, String Manipulation Functions, Copying One String Into Another, Comparing Strings Functions, Working With Individual Characters, Working With Sub-Strings, Working With Character Cases, Formatting Strings.

Site: www.functionx.com Report - View Tutorial

C and C++ Functions and Classes
Functions (II)
C and C++ / Functions and Classes
Until now, in all the functions we have seen, the arguments passed to the functions have been passed by value. This means that when calling a function with parameters, what we have passed to the function were copies of their values but never the variables themselves.

Site: www.cplusplus.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++ Getting Started
Fast Introduction to C++
C and C++ / Getting Started
This tutorial makes very short introduction to C++ programming, covering only the very basics.

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

C and C++ Grapics
WGL and the Wiggle Functions
C and C++ / Grapics
The simple fact that OpenGL is only a graphics API means that any user interaction, or things like screen and window issues needs to be handled by the operating system. Most operating systems come with a set of extensions that tie OpenGL together with user interaction and window management. This tends to make our lives a little bit easier, but only if we know how to take advantage of this option. In Windows this set of functions are called the wiggle functions. Each of these functions is prefixed with wgl.

Site: www.cprogramming.com Report - View Tutorial

C and C++ Functions and Classes
Functions (I)
C and C++ / Functions and Classes
Using functions we can structure our programs in a more modular way, accessing all the potential that structured programming can offer to us in C++.

Site: www.cplusplus.com Report - View Tutorial

C and C++ Functions and Classes
Functions
C and C++ / Functions and Classes
In general, functions are blocks of code that perform a number of pre-defined commands to accomplish something productive.

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
Pointers and Functions
C and C++ / Functions and Classes
Learn: Reviewing Functions, Declaring a Pointer to Function, Using a Pointer to Function, A Pointer to a Function as Argument, Passing a Function as Argument, An Array of (Pointers to) Functions, Using an Array of Functions and more.

Site: www.functionx.com Report - View Tutorial

C and C++ Pointers and References
Pointers to C++ Member Functions
C and C++ / Pointers and References
Pointers to Member Functions are one of C++'s more rarely used features, and are often not well understood even by experienced developers. This is understandable, as their syntax is necessarily rather clumsy and obscure. While they do not have wide applicability, sometimes member function pointers are useful to solve certain problems, and when they do apply they are often the perfect choice, both for improved performance and to make the code sensible.

Site: www.codebeach.com Report - View Tutorial

C and C++ Pointers and References
Arrays and Pointers
C and C++ / Pointers and References
Learn: Relating a Pointer to an Array, A Pointer as Argument, Passing Pointers as Arguments, Passing Reference Pointers to Functions, Pointers and Multi-Dimensional Arrays, Dynamic Arrays Dynamic Multi-Dimensional Arrays, Pointers and Arrays With Functions, Single Dimensional Arrays and Functions and more.

Site: www.functionx.com Report - View Tutorial

C and C++ Functions and Classes
Polymorphism and Virtual Functions Tutorial + Disassembled Proof
C and C++ / Functions and Classes
This tutorial teaches you Polymorphism which also includes a disassembled listing of a program using virtual functions thoroughly explained.In the end I explain how the compiler implements polymorphism and so knowledge of Assembly Language will be a great help in understanding Polymorphism.

Site: www.programmers-corner.com Report - View Tutorial

C and C++ Functions and Classes
Inline functions
C and C++ / Functions and Classes
Explains the need of inline functions, when to / not to use them and how to use them.

Site: www.geekpedia.com Report - View Tutorial

C and C++ Getting Started
Introduction to C/C++ Part 2
C and C++ / Getting Started
A newbie-friendly beginner tutorial with good and descriptive explanation of C/C++ syntax.

Site: www.geekpedia.com Report - View Tutorial

 
Site Search

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