Networking, Programming and Graphics Tutorials

Strings - C++ [1/1]

Type:
Strings - C++
Level: Beginner Networking, Programming and Graphics Tutorials 
Strings - C++
Date: 2006-Dec-05
Strings - C++
Visited: 2328 times
Strings - C++
Rating: Strings - C++
Strings - C++
Author: Alex Plumpton

A group of integers stored in the memory is called an integer array. Similarly, a group of characters form a character array. Character arrays are also called strinys.The example shows how to declare and initialize a character array. A string constant is a one-dimensional array of characters terminated by a null character. In the example, the last character \0 is called a null character. The difference between 0 and \0 is that the ASCII value of 0 is 48 and the ASCII value of \0 is 0.

Strings - C++
Character Array in Memory

CONTENT D 0 V E \0
MEM Cells 1 2 3 4 5


Character Constants

"Simple"
"56732"
"This is an example for multi word string*
"0007"
"!@#$%n&*&()"
""

Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Strings - C++ [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: STRINGS-C++  strings c++  tutorials on strings + c++  strings in c++ tutorial  C++ array of strings example  making 3D anything  instant messangers  how to burn iso with nero  Online Home Network Diagnostics  C++ encapsulation  yahoo messangers  php.info file  pop proxy settings outlook  tracert tutorial  trillian port number  how to build an info.php file  xp network diagnostic  do while in c++  for loop in c++  SMTP Commands test