Write a C++ program that outputs "My first C++ program" and then outputs a carriage return.
What will be an ideal response?
```
#include
using namespace std;
int main()
{
cout << “My first C++ program” << endl;
}
```
An alternative is to place using namespace std; after the #include directive, or to place this inside the block of the function main. This depends on the local rules for placing namespace directives and definitions.
You might also like to view...
You can use a moveAndOrientTo() message to reorient any object in the object tree.
Answer the following statement true (T) or false (F)
PowerPoint's spelling checker is very similar to the one you use in Word.
Answer the following statement true (T) or false (F)
In other object-oriented programming languages, like Java, the base class is called the ___________ and the derived class is the ________.
Fill in the blank(s) with the appropriate word(s).
A(n) ____ is software or hardware designed to filter out suspicious data attempting to enter or leave a computer.
A. firewall B. security suite C. antivirus program D. antispyware program