#include
#include
using std::cin;
using std::cout;
using std::string;
int main()
{
string myStr = "0";
cout << endl << "Enter a string: ";
cin >> myStr;
int myStrLength = sizeof(myStr)/sizeof(myStr[0]);
for (int i = (myStrLength - 1); i >= 0; i--)
{
cout << endl << myStr[i];
}
system("PAUSE");
return 0;
}
write program to concatenating two sting in 8086 assembly language
A string variable is a programming language construct that holds text. For example, the text "The sky is blue" could be stored to a string variable, then later in the program, that text could be displayed.
Use text-editor notepad++
You find a language that can be targeted towards the .NET Framework. What you are suggesting is something related to string manipulation and you can work with delimiters.
8086 assembly language program to check wether given number is perfect or not
what is string
You do not need to program string manipulation as it is already part of the standard library. See std::string and std::wstring.
string-literal
string-literal
The use of the reverse string in C program is used to reverse the letters in the string. An example would be reverse me would be reversed to em esrever.
Nothing.The C language only recognizes a few keywords, like "for" and "if". Most of what's in a C program ... that doesn't reference routines in the C program itself ... are library calls, and cputs() is one of those. What it does is write its argument (which should be a pointer to a character string) to the console... console put string.
A "string" in any programming language is a line of text.