Thread: How to co-work in programming?

  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    32

    How to co-work in programming?

    Hi, there. I have question about how to co-work with others?
    I am just a newbie. And I have only very limited programming experience.
    I don't have any experience how to co-work with others.
    Can anyone tell me how to co-work in programming, especially in C++?
    By command interface? Or define the I/O format. One gives output, another one reads it in?
    Silly question I know. Hope somebody can teach me.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    What exactly do you mean "co-work"? If you are talking about a team of programmers developing some software together, then quite generally some kind of interface would have to be agreed on.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    What is the deal here? You will make a program with somebody else? Are they in the same space/office?

  4. #4
    Registered User
    Join Date
    Apr 2006
    Posts
    2,149
    Design the whole thing together. Then divide up the work. Then agree on the interfaces between the parts you and your co-worker are to be working on (how they talk to each other). Then work on your separate parts, keeping each other apprised of what the other is doing.

    That's a rough idea. Details may be different. For example it may be a good idea to design all the public methods before starting to code.


    Another approach is pair programming, where you both sit in front of one computer taking turns writing the code, while the sanity checks the code, all the while talking through the code so that you have a quality product.
    It is too clear and so it is hard to see.
    A dunce once searched for fire with a lighted lantern.
    Had he known what fire was,
    He could have cooked his rice much sooner.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. strcmp returning 1...
    By Axel in forum C Programming
    Replies: 12
    Last Post: 09-08-2006, 07:48 PM
  2. getline() don't want to work anymore...
    By mikahell in forum C++ Programming
    Replies: 7
    Last Post: 07-31-2006, 10:50 AM
  3. Why don't the tutorials on this site work on my computer?
    By jsrig88 in forum C++ Programming
    Replies: 3
    Last Post: 05-15-2006, 10:39 PM
  4. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM
  5. DLL __cdecl doesnt seem to work?
    By Xei in forum C++ Programming
    Replies: 6
    Last Post: 08-21-2002, 04:36 PM