Putting together programs

This is a discussion on Putting together programs within the C Programming forums, part of the General Programming Boards category; Ok so I have a menu, GUI interphase, Networking, and a communication program. My group is trying to put these ...

  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    23

    Putting together programs

    Ok so I have a menu, GUI interphase, Networking, and a communication program. My group is trying to put these programs together in one program. how do you pieace together programs? we are making an instant messaging program by the way...
    Thank You.

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    16
    I have a feeling you're going to need to be a little more descriptive of this.

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    23
    Well all i want to know is how people piece together programs into one. Is there a certain way to do this?

  4. #4
    Registered User
    Join Date
    Nov 2007
    Location
    Free Country, USA
    Posts
    105
    The way I do that is taking the relivant code from one program, pasingit into the new program and have the other code that needs the new code call the new functions.

  5. #5
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Katy, Texas
    Posts
    2,309
    I suspect you'll need to link them all together. When all three programs were written, did you all not establish a plan for this?

    Todd

  6. #6
    Registered User
    Join Date
    Oct 2007
    Posts
    23
    Our class was put into different groups. i was put into the work flow for linking it together... I have no idea how the other programs run. I know it sounds crazy. I am in a crazy class...
    Yes i need to link them together. What do you mean by relavent code. Getting something to call all the functions?

  7. #7
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    Well the first thing (before you start programming) is to define some interfaces between the various components.

    For example, how does the line of text typed in from the user go from the GUI, via the comms program and out over the network.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recommend upgrade path for C programs
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-22-2007, 06:32 AM
  2. Newbie question: pointers, other program's memory
    By xxxxme in forum C++ Programming
    Replies: 23
    Last Post: 11-25-2006, 12:00 PM
  3. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 04:42 AM
  4. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 03:12 AM
  5. Putting Timer/Time Delays into your programs
    By newbie in forum C++ Programming
    Replies: 3
    Last Post: 09-07-2001, 08:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21