Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part II. Chat Phase 1: GUI You are asked to implementa program that allows you to chat with people over the network like the instant

image text in transcribed

image text in transcribed

Part II. Chat Phase 1: GUI You are asked to implementa program that allows you to chat with people over the network like the instant messaging. In this part, we are concerned about the screen control only. We will use the curses library to achieve our goal. First of all, your program must ask for user name and password ("xyz"). When the password is typed in, the echo must be turn off and a s shown at the next position on the screen. Thereafter, you should split the screen into two windows, the output window occupies the top part and the input window the bottom part. You can assume the screen is 24 rows and 80 columns. Your program should keep receiving input (line by line, allows the Window to scroll from the input window and print each line, preceded by the use r name, to the output window (again, allows the window to scroll). Your program should terminate l when the string "exit" is typed In order to use the curses library, you must link it when you compile your project. The following is a sample gcc -o proj proj. c-lcurses

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Jay Greenspan, Brad Bulger

1st Edition

978-0764535376

More Books

Students also viewed these Databases questions

Question

How flying airoplane?

Answered: 1 week ago

Question

6. Effectively perform the managers role in career management.

Answered: 1 week ago