943,703 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 3224
  • C RSS
Oct 13th, 2008
0

C Chat Program

Expand Post »
can someone help how to develop a chat program in c. the program must run in the linux terminal and have a layout like yahoo messenger. it must have a area in which the user's can be seen, text area and an area in which one could the on going chat.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
joelogs is offline Offline
8 posts
since Oct 2008
Oct 13th, 2008
1

Re: C Chat Program

Let me guess, you don't know anything about C, you've never programmed before (but this app is going to be AWESUM!!!!!) and want someone to do it for you on your state of the art version of Turbo C 1.0.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Oct 14th, 2008
0

Re: C Chat Program

i admit i haven't programmed on c but i can say i can understand the basic parts on language even if i haven't programmed on those. and i forgot the say the its in gnu c not turbo c.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
joelogs is offline Offline
8 posts
since Oct 2008
Oct 14th, 2008
1

Re: C Chat Program

Spend a few weeks practicing with ncurses and drawning text windows, typing in one and echoing responses in the other.

Spend a few more weeks practicing network programming with beej to the point where you can send and receive messages (to yourself).

Then you might have a go at bringing the two ideas together.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Oct 15th, 2008
0

Re: C Chat Program

what does in ncurses does? is it sort of a gui library/package/API? i'm more into java so i'm thinking that it is similar to java's AWT and SWING library. am i right?

thanks for the response btw.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
joelogs is offline Offline
8 posts
since Oct 2008
Oct 15th, 2008
0

Re: C Chat Program

Click to Expand / Collapse  Quote originally posted by joelogs ...
what does in ncurses does? is it sort of a gui library/package/API? i'm more into java so i'm thinking that it is similar to java's AWT and SWING library. am i right?

thanks for the response btw.
Read the introduction in the link Salem posted for you.
If it doesn't satisfy you, there's always more, a few keystrokes away in your favorite search engine.
Last edited by Aia; Oct 15th, 2008 at 1:11 am.
Aia
Reputation Points: 2224
Solved Threads: 218
Nearly a Posting Maven
Aia is offline Offline
2,304 posts
since Dec 2006
Oct 15th, 2008
0

Re: C Chat Program

> what does in ncurses does?
What do hyperlinks and web search engines do?

> i'm more into java so i'm thinking that it is similar to java's AWT and SWING library. am i right?
Right, which is why you mentioned a terminal (aka, basic character based I/O) to begin with.
If you want that kind of interface, consider wxWidgets
Note that this isn't a link, can you still manage?
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Oct 15th, 2008
0

Re: C Chat Program

Click to Expand / Collapse  Quote originally posted by joelogs ...
can someone help how to develop a chat program in c. the program must run in the linux terminal and have a layout like yahoo messenger. it must have a area in which the user's can be seen, text area and an area in which one could the on going chat.
U should start with Socket programing;
reffer to book "beejs guide to network programing "
u can do it with in 3 days
Reputation Points: 10
Solved Threads: 0
Newbie Poster
praveensleeps is offline Offline
3 posts
since Oct 2008
Oct 16th, 2008
0

Re: C Chat Program

U should start with Socket programing;
reffer to book "beejs guide to network programing "
u can do it with in 3 days

I would question what, i think he may have problems installing a compiler on his pc let alone managing to write a simple hello world application, since he seem's to struggle with clicking and read.

Although he doesn't seem to have a problem with java, perhaps i missed something here!

Chris
Reputation Points: 325
Solved Threads: 118
Master Poster
Freaky_Chris is offline Offline
702 posts
since Apr 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: [help]how to implement a read_write lock in windows?
Next Thread in C Forum Timeline: No newline at end of file....????





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC