C Chat Program

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2008
Posts: 8
Reputation: joelogs is an unknown quantity at this point 
Solved Threads: 0
joelogs joelogs is offline Offline
Newbie Poster

C Chat Program

 
0
  #1
Oct 13th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,728
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 737
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: C Chat Program

 
1
  #2
Oct 13th, 2008
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.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 8
Reputation: joelogs is an unknown quantity at this point 
Solved Threads: 0
joelogs joelogs is offline Offline
Newbie Poster

Re: C Chat Program

 
0
  #3
Oct 14th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: C Chat Program

 
1
  #4
Oct 14th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 8
Reputation: joelogs is an unknown quantity at this point 
Solved Threads: 0
joelogs joelogs is offline Offline
Newbie Poster

Re: C Chat Program

 
0
  #5
Oct 15th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 2,033
Reputation: Aia has much to be proud of Aia has much to be proud of Aia has much to be proud of Aia has much to be proud of Aia has much to be proud of Aia has much to be proud of Aia has much to be proud of Aia has much to be proud of Aia has much to be proud of Aia has much to be proud of 
Solved Threads: 177
Aia's Avatar
Aia Aia is offline Offline
Postaholic

Re: C Chat Program

 
0
  #6
Oct 15th, 2008
Originally Posted by joelogs View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: C Chat Program

 
0
  #7
Oct 15th, 2008
> 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?
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 3
Reputation: praveensleeps is an unknown quantity at this point 
Solved Threads: 0
praveensleeps praveensleeps is offline Offline
Newbie Poster

Re: C Chat Program

 
0
  #8
Oct 15th, 2008
Originally Posted by joelogs View 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.
U should start with Socket programing;
reffer to book "beejs guide to network programing "
u can do it with in 3 days
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 671
Reputation: Freaky_Chris is a jewel in the rough Freaky_Chris is a jewel in the rough Freaky_Chris is a jewel in the rough 
Solved Threads: 113
Freaky_Chris's Avatar
Freaky_Chris Freaky_Chris is offline Offline
Practically a Master Poster

Re: C Chat Program

 
0
  #9
Oct 16th, 2008
Originally Posted by praveensleeps View Post
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
Knowledge is power -- But experience is everything
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC