Question: GUI (C program not C++) You are asked to implement a program that allows you to chat with people over the network like the instant

GUI (C program not C++)

You are asked to implement a 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 * is 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 user name, to the output window (again, allows the window to scroll). Your program should terminate 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

GUI (C program not C++) You are asked to implement a program

**Your program must be well documented. Here are two screen shots of the running program: Terminal 84x30 a out li Hello mengsu: Enter User Name: sengsu Enter Password: Imengsu: Can you hear me? Hello Can you hear me? Terminal a out 84x30 **Your program must be well documented. Here are two screen shots of the running program: Terminal 84x30 a out li Hello mengsu: Enter User Name: sengsu Enter Password: Imengsu: Can you hear me? Hello Can you hear me? Terminal a out 84x30

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!