answersLogoWhite

0

// my first string #include <iostream> #include <string> using namespace std; int main () { string mystring; mystring = "This is the initial string content"; cout << mystring << endl; mystring = "This is a different string content"; cout << mystring << endl; return 0; } This is the initial string content This is a different string content

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Syntax of turbo c?

+ += - -= * *= / /= % %= = == != &lt;= &gt;= &amp; &amp;&amp; | ^ ~ &lt;&lt; &lt;&lt;= &gt;&gt; &gt;&gt;= , [] () are the basic operator in TURBO C


What is the use of header file graphics in c plus plus programming?

It has no use in C++ itself, it is only useful in Borland Turbo C++. It provides generic graphics support for Borland Turbo C++ applications.


What is the basic syntax of C?

+ += - -= * *= / /= % %= = == != &lt;= &gt;= &amp; &amp;&amp; | ^ ~ &lt;&lt; &lt;&lt;= &gt;&gt; &gt;&gt;= , [] () are the basic operator in TURBO C


Does windows XP supports the turbo c plus plus graphics?

You should actually turn the question around: does the Turbo C++ graphics library support Windows XP? The answer is yes it does, provided you are using a version of Turbo C++ for Windows XP and above.


Different built in graphics funcyion available in C programming language along with the syntax of each function?

Graphics is platform-dependent, it is not part of the standard C-library. I guess you are using TurboC, it has a built-in help system, plus it has an example program called bgidemo.c


How do you make a cricket field in turbo c graphics?

deese nuts


Can graphics in C programming done with compilers other than turbo c plus plus?

Of course.


Why use setcolor function in c graphics?

C language doesn't say anything about graphics, it is platform-dependent.


What are the function of turbo c?

It's an Integrated Developing Environment.


What is gotoxy in turbo c?

A function, defined in conio.h. Use the help.


What is return statement under function in turbo C?

return 0


What are the32 key words in c turbo?

key words are the specfic command of the program like variable name, syntax, name of loops.