Home

Submit

Source

Feeds

C and C++ Dynamic Memory

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

Related Tutorials
C and C++ Pointers and References
Pointers and References in C++
C and C++ / Pointers and References
The ability to manipulate memory and memory locations directly is part of what makes C and C++ so powerful, so dangerous, and so difficult for beginners. C only has "pointers", but C++ uses pointers and "references" that have a nicer syntax and attempt to be safer. This article will attempt to demystify these concepts in the minds of beginning C/C++ programmers.

Site: www.codebeach.com Report - View Tutorial

C and C++ Getting Started
Arrays
C and C++ / Getting Started
An array is a series of elements of the same type placed in contiguous memory locations that can be individually referenced by adding an index to a unique identifier.

Site: www.cplusplus.com Report - View Tutorial

C and C++ Pointers and References
Pointers
C and C++ / Pointers and References
Using pointers to access memory locations.Pointers are an extremely powerful programming tool. They can make some things much easier, help improve your program's efficiency, and even allow you to handle unlimited amounts of data.

Site: www.cprogramming.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
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

 
Site Search

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