answersLogoWhite

0


Best Answer

Format specifiers are not necessary because we can use the much more flexible insertion operator to insert formatted text in an output stream, or the extraction operator to extract formatted data from an input stream. Format specifiers are simply far too low-level and can only handle built-in data types such as strings, integrals and floats, they cannot handle more complex data types such as classes and data structures and we cannot create new specifiers to cater for them. But in C++ we can simply overload the insertion and extraction operators to cater for any data type we wish, thus providing a consistent means of inserting any object into an input stream or extracting it from an output stream.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why format specifier is not necessary in language C plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the default access specifier in C plus plus?

private


What is private specifier in c plus plus?

The private specifier states that the member can only be accessed by the containing class, and not by any derived class, nor by any other code outside of a class.


What are the interpreter in c plus plus?

C++ is a compiled language, not an interpreted language.


When was Plus - programming language - created?

Plus - programming language - was created in 1976.


What format do minidisc recorder save audio in?

Most minidisc recorders record in ATRAC3 plus format.


Is c plus plus a complied or interpreted language?

C++ is generally a compiled language.


What called ' percent ' in C programming language?

Nothing, but the % symbol denotes the remainder operation, eg: 7%4==3. Plus it is used in format-sequences of printf, scanf, strftime, strptime...


What is IEEE standard in c plus plus?

The format of floating-point numbers. On some platforms.


Is C plus plus a high level language?

Yes, C++ is a high-level language.


In computer language C plus plus is related to?

C++ is related to C, the language from which it is derived.


What is the generic format of a chemical reaction?

Generic format is Reactant ( plus reactant(s)) = Product + (Product(s))


What does CTRL plus 1 do in excel?

It lets you format the cell