Like Tree1Likes
  • 1 Post By Click_here

Output confusion

This is a discussion on Output confusion within the C Programming forums, part of the General Programming Boards category; Hey guys I was a little confused on what the output is supposed to be on this program I didn't ...

  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    27

    Output confusion

    Hey guys I was a little confused on what the output is supposed to be on this program I didn't really understand it in the directions. Can anyone please explain it to me better if you understand it? Here are the instructions and thanks!

    For this assignment, you are to read an input file that gives the distances bet - Pastebin.com

  2. #2
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,343
    You may want to spend a few hours reading up on the problem, and Dynamic programming.


    This is a very famous problem - Did you know wiki has a page for it?

    As for output, there is a sample output in the problem
    Fact - Beethoven wrote his first symphony in C

  3. #3
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,343
    Also, when you get a problem at uni (or where ever you are studying) it always pays to ask your professor for clarification.

    They will give you a hint most of the time.

    [edit]

    Also, for those that don't want to go to paste bin, here is OP's original post -
    C Program

    [/edit]
    Fact - Beethoven wrote his first symphony in C

  4. #4
    Registered User
    Join Date
    Dec 2011
    Posts
    27
    Oh I did not know wiki had a page for it. Would you mind linking it to me? I'd like to read up on it. I probably should have posted this on my former post sorry forgot about that one.

  5. #5
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,343
    Quote Originally Posted by return0 View Post
    Oh I did not know wiki had a page for it. Would you mind linking it to me? I'd like to read up on it.
    That's strange, because I did say that there was a link for it in the other thread you had...

    Travelling salesman problem - Wikipedia, the free encyclopedia
    Crossfire likes this.
    Fact - Beethoven wrote his first symphony in C

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ overlapping output and adding extensions to output files
    By lordmorgul in forum Linux Programming
    Replies: 9
    Last Post: 05-11-2010, 08:26 AM
  2. How to edit output in struct and call for the output
    By andrewkho in forum C Programming
    Replies: 4
    Last Post: 03-16-2010, 10:28 PM
  3. terminal output not showing output properly
    By stanlvw in forum C Programming
    Replies: 13
    Last Post: 11-19-2007, 09:46 PM
  4. Printf Output Confusion
    By simpleid in forum C++ Programming
    Replies: 2
    Last Post: 11-16-2006, 10:36 AM
  5. Replies: 3
    Last Post: 02-19-2003, 07:34 PM

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