answersLogoWhite

0

What else can I help you with?

Related Questions

Can you give an example of a basic 'Hello World' program?

#include<iostream> int main() { std::cout << "Hello world!" << std::endl; return(0); }


What is the use of using namespace STD in c plus plus programming?

No, the use of 'namespace std' is not compulsory. You can specifiy it on any object reference. Specifying 'namespace' simply provides a default value. Contrast ... using namespace std; cout << "Hello world!" << endl; ... with ... std::cout << "Hello world!" << std::endl;


What is a user defined manipulator in c plus plus?

A user-defined manipulator is a function which can be passed as an argument to the stream insertion or extraction operator overloads. For example, the output stream insertion operator has the following overload: std::ostream& operator<< (std::ostream& st, std::ostream& (*func) (std::ostream&)); The second argument is the function pointer, with the following signature: std::ostream& (*func) (std::ostream&) Any function that matches this signature can be used as a manipulator. For instance, the following user-defined manipulator does exactly the same job as the std::endl manipulator: std::ostream& my_manipulator (std::ostream& os) { return os << '\n' << std::flush; } Example usage: std::cout << "Hello world!" << my_manipulator; You can, of course, provide your own implementations to perform any type of manipulation. For example, suppose you want a manipulator that inserts an elipses into an output stream: std::ostream& elipses (std::ostream& os) { return os << "..."; } Example usage: std::cout << "Hello" << elipses << "world!" << my_manipulator; Output: Hello...world!


Is Jerusalem the capital of the world?

No. There is no Capital of the World. Jerusalem is the capital of Israel, nowhere else.


Example of Borland c plus plus program?

#include<iostream> int main() { std::cout << "Hello world!" << std::endl; }


Capital cities of the world?

there are 67 capital cities in the world.


Give the simple demo of Visual C plus plus?

#include<iostream> int main() { std::cout << "Hello world!" << std::endl; }


Where is the Example of a c plus plus code?

#include<iostream> int main() { std::cout << "Hello world!" << std::endl; return(0); }


What is the cranberry capital of the world?

Middleborough, Massachusetts, is the "Cranberry Capital of the World."


Where is the pumpkin capital in the world?

The pumpkin capital in the world is Morton, Illinois.


Why is Gary IN the murder capital of the world?

it's not the murder capital of the WORLD.


Where is the 'Soybean Capital of the World'?

The Soybean Capital of the World is Decatur, Illinois.