Hey Hi..to everybody..I am new to this C++. My problem is that I want the input and output to be taken from windows interface not from the command line. A window should open and it should ask the question to proceed and the output should appear there.Take for example:
it asks me to write my name and then it prints myname, its easy to do throught command prompt and I use cin and cout and and I can do it through Command prompt. But what I need is


Write your name : Ravi Ranjan Singh
The name you have enterd is : Ravi Ranjan Singh

It should appear like this in windows interface.I do not know how to do this. can somebody pleae give a code.
I would be very thankful.

You need to write a MS-Windows GUI program, not a console program. Here is an intro tutorial. Note that the tutorial will not teach you everything, but just enough to get you started. There are several other ways to write Windows GUI, this is just the most basic.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.