Logo 
Search:

Visual C++ FAQ

Submit Interview FAQ
Home » Interview FAQ » Visual C++RSS Feeds

How to make cout and cin working in Visual C++

  Shared By: Vivek Patel    Date: Oct 16    Category: Visual C++    Views: 8860

Answer:

In order to have cout and cin works you need to add following libraries and namespace.

#include <iostream>
#include <stdlib.h>
using namespace std;

Share: 
 

Didn't find what you were looking for? Find more on How to make cout and cin working in Visual C++ Or get search suggestion and latest updates.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: