answersLogoWhite

0

No. But never mind, printf and scanf are much better;)

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

C plus plus programs-print a message?

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


Fundamental components of a c plus plus program?

#include <iostream> using standard namespace std; int main() { cout << "your prob shouldn't be taking c++"; return 0; }


Can you replace getch of C programming in Linux without using iostream header?

There is a 'getch' in 'conio.h' which has nothing to do with 'iostream'.


Why c and c plus plus programs can not work on all platforms?

C and c++ programs can work on all plate form if they do not have machine dependent code.The executable files of these can not work no different plate forms because they have machine dependent information and if machine changes the information will become meaningless .


What is the use of stdioh in C programs?

stdio.h is a header file that is a part of the standard C library. It contains a number of routines used for standard input (usually from the keyboard) and output (usually to the console/terminal).


What is difference between iostream and iostreamh in c plus plus?

<iostream.h> is an old style of programming and does not allow using namespaces. If you use <iostream> you can use namespaces, and limit number of predefined function (not used) included with your program.


What is the purpose of including 'iostream.h' in each C program?

It is not anecessary to inlcude iostream in every C++ program, if you are using any Input stream (e.g. cin>>) ot Output stream (e.g. cout<<) functionality, then it's mandatory to include iostream


How to make simple projects from basic c plus plus?

There is no such thing as basic C++. You probably meant standard C++, which simply means that the implementation conforms to some ISO standard. The current standard is ISO/IEC 14882:2011, informally known as C++11. However, simple projects can be created in any version of C++ by creating console programs.


Why use header file iostreamh?

You use the <iostream> header when you wish to make use of the standard input/output streams, which primarily includes std::cin, std:cout and std::cerr, amongst other standard IO stream facilities. Note that C++ standard library headers do NOT have file extensions. That is, there is no <iostream.h> header in the C++ standard library. The only headers that do have extensions are those specifically provided by the C standard library. However, you must NOT include these headers in your own code as they will pollute the global namespace. If you require these headers, use the corresponding C++ header instead. For example, if you require <math.h>, include <cmath>. The C++ headers will import all the names from corresponding C header and place them in the C++ standard namespace.


What is the program to create a string class which stores a string value in c plus plus?

C++ already provides a string class in the C++ standard template library. #include<iostream> #include<string> int main() { using namespace std; string s {"Hello world!"}; cout << s << endl; }


CAn you work in c or c plus plus without editor?

You can compile, link and execute programs without text-editor.


Can i use both stdioh and iostream in single program?

Yes, you can use both <stdio.h> and <iostream> in a single C++ program. However, it's generally advisable to stick to one style of I/O to maintain consistency and avoid potential confusion. If you choose to mix them, remember that <stdio.h> functions use C-style I/O, while <iostream> provides C++-style I/O. Just be sure to manage the different buffering mechanisms appropriately.